diff --git a/sdk/network/azure-mgmt-network/_meta.json b/sdk/network/azure-mgmt-network/_meta.json index cb9d8b2a6852..480d9cdcedce 100644 --- a/sdk/network/azure-mgmt-network/_meta.json +++ b/sdk/network/azure-mgmt-network/_meta.json @@ -1,12 +1,12 @@ { - "commit": "d79d73bea550b643c312dde6a7e817840c1ac914", + "commit": "4efc18c56383b2b879e5a61817fbc641db3f0276", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest": "3.10.2", "use": [ "@autorest/python@6.19.0", "@autorest/modelerfour@4.27.0" ], - "autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --generate-test=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.19.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False", + "autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --generate-test=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.19.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False", "readme": "specification/network/resource-manager/readme.md", "package-2015-06split": "2019-06-13 02:17:06 +0300 f0f79bfa8191ac30cfb0f87665411769bd2063a6 Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json", "package-2017-10": "2019-06-13 02:23:37 +0300 e19543a6a361096e5ca11a42424a39025fd008fa Microsoft.Network/stable/2017-10-01/applicationGateway.json", @@ -37,5 +37,5 @@ "package-2023-09": "2024-08-05 12:54:01 +0800 0699892cadd5825057a797244d8b704e6529631d Microsoft.Network/stable/2023-09-01/ipAllocation.json", "package-2023-11": "2024-08-05 18:42:45 -0700 9fc2f7eda170fad2fe721788d2824e572a6c4c38 Microsoft.Network/stable/2023-11-01/securityPartnerProvider.json", "package-2024-01": "2024-09-09 15:04:01 -0700 1ad29756bd141a47cac770140105a706d065ae1b Microsoft.Network/preview/2024-01-01-preview/networkVerifier.json", - "package-2024-03": "2024-08-27 11:05:40 +0530 5164430697eba3c27388fe9112de8eba40f85664 Microsoft.Network/stable/2024-03-01/vmssPublicIpAddress.json" + "package-2024-03": "2024-10-24 18:17:17 +0000 1ca21455b62aef4e1fc71f3fe0f4b778fbdd52b7 Microsoft.Network/stable/2024-03-01/applicationGateway.json" } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py index 5f2c7607910d..e5754a47ce68 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "27.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/models/_models.py index 8a86781ddb00..7bb35f98b40f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/models/_models.py @@ -238,10 +238,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu :ivar force_firewall_policy_association: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. :vartype force_firewall_policy_association: bool - :ivar load_distribution_policies: Load distribution policies of the application gateway - resource. - :vartype load_distribution_policies: - list[~azure.mgmt.network.models.ApplicationGatewayLoadDistributionPolicy] :ivar global_configuration: Global Configuration. :vartype global_configuration: ~azure.mgmt.network.models.ApplicationGatewayGlobalConfiguration @@ -351,10 +347,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu "type": "[ApplicationGatewayCustomError]", }, "force_firewall_policy_association": {"key": "properties.forceFirewallPolicyAssociation", "type": "bool"}, - "load_distribution_policies": { - "key": "properties.loadDistributionPolicies", - "type": "[ApplicationGatewayLoadDistributionPolicy]", - }, "global_configuration": { "key": "properties.globalConfiguration", "type": "ApplicationGatewayGlobalConfiguration", @@ -401,7 +393,6 @@ def __init__( # pylint: disable=too-many-locals private_link_configurations: Optional[List["_models.ApplicationGatewayPrivateLinkConfiguration"]] = None, custom_error_configurations: Optional[List["_models.ApplicationGatewayCustomError"]] = None, force_firewall_policy_association: Optional[bool] = None, - load_distribution_policies: Optional[List["_models.ApplicationGatewayLoadDistributionPolicy"]] = None, global_configuration: Optional["_models.ApplicationGatewayGlobalConfiguration"] = None, **kwargs: Any ) -> None: @@ -527,10 +518,6 @@ def __init__( # pylint: disable=too-many-locals :keyword force_firewall_policy_association: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. :paramtype force_firewall_policy_association: bool - :keyword load_distribution_policies: Load distribution policies of the application gateway - resource. - :paramtype load_distribution_policies: - list[~azure.mgmt.network.models.ApplicationGatewayLoadDistributionPolicy] :keyword global_configuration: Global Configuration. :paramtype global_configuration: ~azure.mgmt.network.models.ApplicationGatewayGlobalConfiguration @@ -572,7 +559,6 @@ def __init__( # pylint: disable=too-many-locals self.provisioning_state = None self.custom_error_configurations = custom_error_configurations self.force_firewall_policy_association = force_firewall_policy_association - self.load_distribution_policies = load_distribution_policies self.global_configuration = global_configuration self.default_predefined_ssl_policy = None @@ -1250,8 +1236,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta :vartype redirect_configuration: ~azure.mgmt.network.models.SubResource :ivar rewrite_rule_set: Rewrite rule set resource of URL path map path rule. :vartype rewrite_rule_set: ~azure.mgmt.network.models.SubResource - :ivar load_distribution_policy: Load Distribution Policy resource of URL path map path rule. - :vartype load_distribution_policy: ~azure.mgmt.network.models.SubResource :ivar provisioning_state: The provisioning state of the path rule resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState @@ -1275,7 +1259,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta "backend_http_settings": {"key": "properties.backendHttpSettings", "type": "SubResource"}, "redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"}, "rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"}, - "load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"}, "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, "firewall_policy": {"key": "properties.firewallPolicy", "type": "SubResource"}, } @@ -1290,7 +1273,6 @@ def __init__( backend_http_settings: Optional["_models.SubResource"] = None, redirect_configuration: Optional["_models.SubResource"] = None, rewrite_rule_set: Optional["_models.SubResource"] = None, - load_distribution_policy: Optional["_models.SubResource"] = None, firewall_policy: Optional["_models.SubResource"] = None, **kwargs: Any ) -> None: @@ -1309,8 +1291,6 @@ def __init__( :paramtype redirect_configuration: ~azure.mgmt.network.models.SubResource :keyword rewrite_rule_set: Rewrite rule set resource of URL path map path rule. :paramtype rewrite_rule_set: ~azure.mgmt.network.models.SubResource - :keyword load_distribution_policy: Load Distribution Policy resource of URL path map path rule. - :paramtype load_distribution_policy: ~azure.mgmt.network.models.SubResource :keyword firewall_policy: Reference to the FirewallPolicy resource. :paramtype firewall_policy: ~azure.mgmt.network.models.SubResource """ @@ -1323,7 +1303,6 @@ def __init__( self.backend_http_settings = backend_http_settings self.redirect_configuration = redirect_configuration self.rewrite_rule_set = rewrite_rule_set - self.load_distribution_policy = load_distribution_policy self.provisioning_state = None self.firewall_policy = firewall_policy @@ -1513,8 +1492,6 @@ class ApplicationGatewayRequestRoutingRule(SubResource): # pylint: disable=too- :vartype rewrite_rule_set: ~azure.mgmt.network.models.SubResource :ivar redirect_configuration: Redirect configuration resource of the application gateway. :vartype redirect_configuration: ~azure.mgmt.network.models.SubResource - :ivar load_distribution_policy: Load Distribution Policy resource of the application gateway. - :vartype load_distribution_policy: ~azure.mgmt.network.models.SubResource :ivar provisioning_state: The provisioning state of the request routing rule resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState @@ -1540,7 +1517,6 @@ class ApplicationGatewayRequestRoutingRule(SubResource): # pylint: disable=too- "url_path_map": {"key": "properties.urlPathMap", "type": "SubResource"}, "rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"}, "redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"}, - "load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"}, "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, } @@ -1557,7 +1533,6 @@ def __init__( url_path_map: Optional["_models.SubResource"] = None, rewrite_rule_set: Optional["_models.SubResource"] = None, redirect_configuration: Optional["_models.SubResource"] = None, - load_distribution_policy: Optional["_models.SubResource"] = None, **kwargs: Any ) -> None: """ @@ -1582,9 +1557,6 @@ def __init__( :paramtype rewrite_rule_set: ~azure.mgmt.network.models.SubResource :keyword redirect_configuration: Redirect configuration resource of the application gateway. :paramtype redirect_configuration: ~azure.mgmt.network.models.SubResource - :keyword load_distribution_policy: Load Distribution Policy resource of the application - gateway. - :paramtype load_distribution_policy: ~azure.mgmt.network.models.SubResource """ super().__init__(id=id, **kwargs) self.name = name @@ -1598,7 +1570,6 @@ def __init__( self.url_path_map = url_path_map self.rewrite_rule_set = rewrite_rule_set self.redirect_configuration = redirect_configuration - self.load_distribution_policy = load_distribution_policy self.provisioning_state = None class ApplicationGatewaySku(_serialization.Model): @@ -1734,7 +1705,7 @@ def __init__( self.key_vault_secret_id = key_vault_secret_id self.provisioning_state = None -class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-instance-attributes +class ApplicationGatewayUrlPathMap(SubResource): """UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. Variables are only populated by the server, and will be ignored when sending a request. @@ -1755,9 +1726,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins :vartype default_rewrite_rule_set: ~azure.mgmt.network.models.SubResource :ivar default_redirect_configuration: Default redirect configuration resource of URL path map. :vartype default_redirect_configuration: ~azure.mgmt.network.models.SubResource - :ivar default_load_distribution_policy: Default Load Distribution Policy resource of URL path - map. - :vartype default_load_distribution_policy: ~azure.mgmt.network.models.SubResource :ivar path_rules: Path rule of URL path map resource. :vartype path_rules: list[~azure.mgmt.network.models.ApplicationGatewayPathRule] :ivar provisioning_state: The provisioning state of the URL path map resource. Known values @@ -1780,7 +1748,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins "default_backend_http_settings": {"key": "properties.defaultBackendHttpSettings", "type": "SubResource"}, "default_rewrite_rule_set": {"key": "properties.defaultRewriteRuleSet", "type": "SubResource"}, "default_redirect_configuration": {"key": "properties.defaultRedirectConfiguration", "type": "SubResource"}, - "default_load_distribution_policy": {"key": "properties.defaultLoadDistributionPolicy", "type": "SubResource"}, "path_rules": {"key": "properties.pathRules", "type": "[ApplicationGatewayPathRule]"}, "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, } @@ -1794,7 +1761,6 @@ def __init__( default_backend_http_settings: Optional["_models.SubResource"] = None, default_rewrite_rule_set: Optional["_models.SubResource"] = None, default_redirect_configuration: Optional["_models.SubResource"] = None, - default_load_distribution_policy: Optional["_models.SubResource"] = None, path_rules: Optional[List["_models.ApplicationGatewayPathRule"]] = None, **kwargs: Any ) -> None: @@ -1812,9 +1778,6 @@ def __init__( :keyword default_redirect_configuration: Default redirect configuration resource of URL path map. :paramtype default_redirect_configuration: ~azure.mgmt.network.models.SubResource - :keyword default_load_distribution_policy: Default Load Distribution Policy resource of URL - path map. - :paramtype default_load_distribution_policy: ~azure.mgmt.network.models.SubResource :keyword path_rules: Path rule of URL path map resource. :paramtype path_rules: list[~azure.mgmt.network.models.ApplicationGatewayPathRule] """ @@ -1826,7 +1789,6 @@ def __init__( self.default_backend_http_settings = default_backend_http_settings self.default_rewrite_rule_set = default_rewrite_rule_set self.default_redirect_configuration = default_redirect_configuration - self.default_load_distribution_policy = default_load_distribution_policy self.path_rules = path_rules self.provisioning_state = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/_version.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/_version.py index 5f2c7607910d..e5754a47ce68 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/_version.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "27.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/__init__.py index 6773fbd575b0..ac8260e5c39a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/__init__.py @@ -54,8 +54,6 @@ from ._models_py3 import ApplicationGatewayIPConfiguration from ._models_py3 import ApplicationGatewayListResult from ._models_py3 import ApplicationGatewayListener -from ._models_py3 import ApplicationGatewayLoadDistributionPolicy -from ._models_py3 import ApplicationGatewayLoadDistributionTarget from ._models_py3 import ApplicationGatewayOnDemandProbe from ._models_py3 import ApplicationGatewayPathRule from ._models_py3 import ApplicationGatewayPrivateEndpointConnection @@ -749,7 +747,6 @@ from ._network_management_client_enums import ApplicationGatewayFirewallMode from ._network_management_client_enums import ApplicationGatewayFirewallRateLimitDuration from ._network_management_client_enums import ApplicationGatewayFirewallUserSessionVariable -from ._network_management_client_enums import ApplicationGatewayLoadDistributionAlgorithm from ._network_management_client_enums import ApplicationGatewayOperationalState from ._network_management_client_enums import ApplicationGatewayProtocol from ._network_management_client_enums import ApplicationGatewayRedirectType @@ -1026,8 +1023,6 @@ "ApplicationGatewayIPConfiguration", "ApplicationGatewayListResult", "ApplicationGatewayListener", - "ApplicationGatewayLoadDistributionPolicy", - "ApplicationGatewayLoadDistributionTarget", "ApplicationGatewayOnDemandProbe", "ApplicationGatewayPathRule", "ApplicationGatewayPrivateEndpointConnection", @@ -1718,7 +1713,6 @@ "ApplicationGatewayFirewallMode", "ApplicationGatewayFirewallRateLimitDuration", "ApplicationGatewayFirewallUserSessionVariable", - "ApplicationGatewayLoadDistributionAlgorithm", "ApplicationGatewayOperationalState", "ApplicationGatewayProtocol", "ApplicationGatewayRedirectType", diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_models_py3.py index 4aa6da3d56cc..e9f5ee7908d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_models_py3.py @@ -1446,10 +1446,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu :ivar force_firewall_policy_association: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. :vartype force_firewall_policy_association: bool - :ivar load_distribution_policies: Load distribution policies of the application gateway - resource. - :vartype load_distribution_policies: - list[~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayLoadDistributionPolicy] :ivar global_configuration: Global Configuration. :vartype global_configuration: ~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayGlobalConfiguration @@ -1559,10 +1555,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu "type": "[ApplicationGatewayCustomError]", }, "force_firewall_policy_association": {"key": "properties.forceFirewallPolicyAssociation", "type": "bool"}, - "load_distribution_policies": { - "key": "properties.loadDistributionPolicies", - "type": "[ApplicationGatewayLoadDistributionPolicy]", - }, "global_configuration": { "key": "properties.globalConfiguration", "type": "ApplicationGatewayGlobalConfiguration", @@ -1609,7 +1601,6 @@ def __init__( # pylint: disable=too-many-locals private_link_configurations: Optional[List["_models.ApplicationGatewayPrivateLinkConfiguration"]] = None, custom_error_configurations: Optional[List["_models.ApplicationGatewayCustomError"]] = None, force_firewall_policy_association: Optional[bool] = None, - load_distribution_policies: Optional[List["_models.ApplicationGatewayLoadDistributionPolicy"]] = None, global_configuration: Optional["_models.ApplicationGatewayGlobalConfiguration"] = None, **kwargs: Any ) -> None: @@ -1735,10 +1726,6 @@ def __init__( # pylint: disable=too-many-locals :keyword force_firewall_policy_association: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. :paramtype force_firewall_policy_association: bool - :keyword load_distribution_policies: Load distribution policies of the application gateway - resource. - :paramtype load_distribution_policies: - list[~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayLoadDistributionPolicy] :keyword global_configuration: Global Configuration. :paramtype global_configuration: ~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayGlobalConfiguration @@ -1780,7 +1767,6 @@ def __init__( # pylint: disable=too-many-locals self.provisioning_state = None self.custom_error_configurations = custom_error_configurations self.force_firewall_policy_association = force_firewall_policy_association - self.load_distribution_policies = load_distribution_policies self.global_configuration = global_configuration self.default_predefined_ssl_policy = None @@ -3660,145 +3646,6 @@ def __init__( self.next_link = next_link -class ApplicationGatewayLoadDistributionPolicy(SubResource): - """Load Distribution Policy of an application gateway. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Resource ID. - :vartype id: str - :ivar name: Name of the load distribution policy that is unique within an Application Gateway. - :vartype name: str - :ivar etag: A unique read-only string that changes whenever the resource is updated. - :vartype etag: str - :ivar type: Type of the resource. - :vartype type: str - :ivar load_distribution_targets: Load Distribution Targets resource of an application gateway. - :vartype load_distribution_targets: - list[~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayLoadDistributionTarget] - :ivar load_distribution_algorithm: Load Distribution Targets resource of an application - gateway. Known values are: "RoundRobin", "LeastConnections", and "IpHash". - :vartype load_distribution_algorithm: str or - ~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayLoadDistributionAlgorithm - :ivar provisioning_state: The provisioning state of the Load Distribution Policy resource. - Known values are: "Succeeded", "Updating", "Deleting", and "Failed". - :vartype provisioning_state: str or ~azure.mgmt.network.v2024_03_01.models.ProvisioningState - """ - - _validation = { - "etag": {"readonly": True}, - "type": {"readonly": True}, - "provisioning_state": {"readonly": True}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "etag": {"key": "etag", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "load_distribution_targets": { - "key": "properties.loadDistributionTargets", - "type": "[ApplicationGatewayLoadDistributionTarget]", - }, - "load_distribution_algorithm": {"key": "properties.loadDistributionAlgorithm", "type": "str"}, - "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, - } - - def __init__( - self, - *, - id: Optional[str] = None, # pylint: disable=redefined-builtin - name: Optional[str] = None, - load_distribution_targets: Optional[List["_models.ApplicationGatewayLoadDistributionTarget"]] = None, - load_distribution_algorithm: Optional[Union[str, "_models.ApplicationGatewayLoadDistributionAlgorithm"]] = None, - **kwargs: Any - ) -> None: - """ - :keyword id: Resource ID. - :paramtype id: str - :keyword name: Name of the load distribution policy that is unique within an Application - Gateway. - :paramtype name: str - :keyword load_distribution_targets: Load Distribution Targets resource of an application - gateway. - :paramtype load_distribution_targets: - list[~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayLoadDistributionTarget] - :keyword load_distribution_algorithm: Load Distribution Targets resource of an application - gateway. Known values are: "RoundRobin", "LeastConnections", and "IpHash". - :paramtype load_distribution_algorithm: str or - ~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayLoadDistributionAlgorithm - """ - super().__init__(id=id, **kwargs) - self.name = name - self.etag = None - self.type = None - self.load_distribution_targets = load_distribution_targets - self.load_distribution_algorithm = load_distribution_algorithm - self.provisioning_state = None - - -class ApplicationGatewayLoadDistributionTarget(SubResource): - """Load Distribution Target of an application gateway. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Resource ID. - :vartype id: str - :ivar name: Name of the load distribution policy that is unique within an Application Gateway. - :vartype name: str - :ivar etag: A unique read-only string that changes whenever the resource is updated. - :vartype etag: str - :ivar type: Type of the resource. - :vartype type: str - :ivar weight_per_server: Weight per server. Range between 1 and 100. - :vartype weight_per_server: int - :ivar backend_address_pool: Backend address pool resource of the application gateway. - :vartype backend_address_pool: ~azure.mgmt.network.v2024_03_01.models.SubResource - """ - - _validation = { - "etag": {"readonly": True}, - "type": {"readonly": True}, - "weight_per_server": {"maximum": 100, "minimum": 1}, - } - - _attribute_map = { - "id": {"key": "id", "type": "str"}, - "name": {"key": "name", "type": "str"}, - "etag": {"key": "etag", "type": "str"}, - "type": {"key": "type", "type": "str"}, - "weight_per_server": {"key": "properties.weightPerServer", "type": "int"}, - "backend_address_pool": {"key": "properties.backendAddressPool", "type": "SubResource"}, - } - - def __init__( - self, - *, - id: Optional[str] = None, # pylint: disable=redefined-builtin - name: Optional[str] = None, - weight_per_server: Optional[int] = None, - backend_address_pool: Optional["_models.SubResource"] = None, - **kwargs: Any - ) -> None: - """ - :keyword id: Resource ID. - :paramtype id: str - :keyword name: Name of the load distribution policy that is unique within an Application - Gateway. - :paramtype name: str - :keyword weight_per_server: Weight per server. Range between 1 and 100. - :paramtype weight_per_server: int - :keyword backend_address_pool: Backend address pool resource of the application gateway. - :paramtype backend_address_pool: ~azure.mgmt.network.v2024_03_01.models.SubResource - """ - super().__init__(id=id, **kwargs) - self.name = name - self.etag = None - self.type = None - self.weight_per_server = weight_per_server - self.backend_address_pool = backend_address_pool - - class ApplicationGatewayOnDemandProbe(_serialization.Model): """Details of on demand test probe request. @@ -3910,8 +3757,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta :vartype redirect_configuration: ~azure.mgmt.network.v2024_03_01.models.SubResource :ivar rewrite_rule_set: Rewrite rule set resource of URL path map path rule. :vartype rewrite_rule_set: ~azure.mgmt.network.v2024_03_01.models.SubResource - :ivar load_distribution_policy: Load Distribution Policy resource of URL path map path rule. - :vartype load_distribution_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource :ivar provisioning_state: The provisioning state of the path rule resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2024_03_01.models.ProvisioningState @@ -3935,7 +3780,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta "backend_http_settings": {"key": "properties.backendHttpSettings", "type": "SubResource"}, "redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"}, "rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"}, - "load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"}, "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, "firewall_policy": {"key": "properties.firewallPolicy", "type": "SubResource"}, } @@ -3950,7 +3794,6 @@ def __init__( backend_http_settings: Optional["_models.SubResource"] = None, redirect_configuration: Optional["_models.SubResource"] = None, rewrite_rule_set: Optional["_models.SubResource"] = None, - load_distribution_policy: Optional["_models.SubResource"] = None, firewall_policy: Optional["_models.SubResource"] = None, **kwargs: Any ) -> None: @@ -3969,8 +3812,6 @@ def __init__( :paramtype redirect_configuration: ~azure.mgmt.network.v2024_03_01.models.SubResource :keyword rewrite_rule_set: Rewrite rule set resource of URL path map path rule. :paramtype rewrite_rule_set: ~azure.mgmt.network.v2024_03_01.models.SubResource - :keyword load_distribution_policy: Load Distribution Policy resource of URL path map path rule. - :paramtype load_distribution_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource :keyword firewall_policy: Reference to the FirewallPolicy resource. :paramtype firewall_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource """ @@ -3983,7 +3824,6 @@ def __init__( self.backend_http_settings = backend_http_settings self.redirect_configuration = redirect_configuration self.rewrite_rule_set = rewrite_rule_set - self.load_distribution_policy = load_distribution_policy self.provisioning_state = None self.firewall_policy = firewall_policy @@ -4668,8 +4508,6 @@ class ApplicationGatewayRequestRoutingRule(SubResource): # pylint: disable=too- :vartype rewrite_rule_set: ~azure.mgmt.network.v2024_03_01.models.SubResource :ivar redirect_configuration: Redirect configuration resource of the application gateway. :vartype redirect_configuration: ~azure.mgmt.network.v2024_03_01.models.SubResource - :ivar load_distribution_policy: Load Distribution Policy resource of the application gateway. - :vartype load_distribution_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource :ivar provisioning_state: The provisioning state of the request routing rule resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2024_03_01.models.ProvisioningState @@ -4695,7 +4533,6 @@ class ApplicationGatewayRequestRoutingRule(SubResource): # pylint: disable=too- "url_path_map": {"key": "properties.urlPathMap", "type": "SubResource"}, "rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"}, "redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"}, - "load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"}, "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, } @@ -4712,7 +4549,6 @@ def __init__( url_path_map: Optional["_models.SubResource"] = None, rewrite_rule_set: Optional["_models.SubResource"] = None, redirect_configuration: Optional["_models.SubResource"] = None, - load_distribution_policy: Optional["_models.SubResource"] = None, **kwargs: Any ) -> None: """ @@ -4737,9 +4573,6 @@ def __init__( :paramtype rewrite_rule_set: ~azure.mgmt.network.v2024_03_01.models.SubResource :keyword redirect_configuration: Redirect configuration resource of the application gateway. :paramtype redirect_configuration: ~azure.mgmt.network.v2024_03_01.models.SubResource - :keyword load_distribution_policy: Load Distribution Policy resource of the application - gateway. - :paramtype load_distribution_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource """ super().__init__(id=id, **kwargs) self.name = name @@ -4753,7 +4586,6 @@ def __init__( self.url_path_map = url_path_map self.rewrite_rule_set = rewrite_rule_set self.redirect_configuration = redirect_configuration - self.load_distribution_policy = load_distribution_policy self.provisioning_state = None @@ -5587,7 +5419,7 @@ def __init__( self.reroute = reroute -class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-instance-attributes +class ApplicationGatewayUrlPathMap(SubResource): """UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. Variables are only populated by the server, and will be ignored when sending a request. @@ -5608,9 +5440,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins :vartype default_rewrite_rule_set: ~azure.mgmt.network.v2024_03_01.models.SubResource :ivar default_redirect_configuration: Default redirect configuration resource of URL path map. :vartype default_redirect_configuration: ~azure.mgmt.network.v2024_03_01.models.SubResource - :ivar default_load_distribution_policy: Default Load Distribution Policy resource of URL path - map. - :vartype default_load_distribution_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource :ivar path_rules: Path rule of URL path map resource. :vartype path_rules: list[~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayPathRule] :ivar provisioning_state: The provisioning state of the URL path map resource. Known values @@ -5633,7 +5462,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins "default_backend_http_settings": {"key": "properties.defaultBackendHttpSettings", "type": "SubResource"}, "default_rewrite_rule_set": {"key": "properties.defaultRewriteRuleSet", "type": "SubResource"}, "default_redirect_configuration": {"key": "properties.defaultRedirectConfiguration", "type": "SubResource"}, - "default_load_distribution_policy": {"key": "properties.defaultLoadDistributionPolicy", "type": "SubResource"}, "path_rules": {"key": "properties.pathRules", "type": "[ApplicationGatewayPathRule]"}, "provisioning_state": {"key": "properties.provisioningState", "type": "str"}, } @@ -5647,7 +5475,6 @@ def __init__( default_backend_http_settings: Optional["_models.SubResource"] = None, default_rewrite_rule_set: Optional["_models.SubResource"] = None, default_redirect_configuration: Optional["_models.SubResource"] = None, - default_load_distribution_policy: Optional["_models.SubResource"] = None, path_rules: Optional[List["_models.ApplicationGatewayPathRule"]] = None, **kwargs: Any ) -> None: @@ -5665,9 +5492,6 @@ def __init__( :keyword default_redirect_configuration: Default redirect configuration resource of URL path map. :paramtype default_redirect_configuration: ~azure.mgmt.network.v2024_03_01.models.SubResource - :keyword default_load_distribution_policy: Default Load Distribution Policy resource of URL - path map. - :paramtype default_load_distribution_policy: ~azure.mgmt.network.v2024_03_01.models.SubResource :keyword path_rules: Path rule of URL path map resource. :paramtype path_rules: list[~azure.mgmt.network.v2024_03_01.models.ApplicationGatewayPathRule] """ @@ -5679,7 +5503,6 @@ def __init__( self.default_backend_http_settings = default_backend_http_settings self.default_rewrite_rule_set = default_rewrite_rule_set self.default_redirect_configuration = default_redirect_configuration - self.default_load_distribution_policy = default_load_distribution_policy self.path_rules = path_rules self.provisioning_state = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_network_management_client_enums.py index aeda911f62d0..a33955b768b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/models/_network_management_client_enums.py @@ -112,14 +112,6 @@ class ApplicationGatewayFirewallUserSessionVariable(str, Enum, metaclass=CaseIns NONE = "None" -class ApplicationGatewayLoadDistributionAlgorithm(str, Enum, metaclass=CaseInsensitiveEnumMeta): - """Load Distribution Algorithm enums.""" - - ROUND_ROBIN = "RoundRobin" - LEAST_CONNECTIONS = "LeastConnections" - IP_HASH = "IpHash" - - class ApplicationGatewayOperationalState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Operational state of the application gateway resource.""" diff --git a/sdk/network/azure-mgmt-network/generated_tests/conftest.py b/sdk/network/azure-mgmt-network/generated_tests/conftest.py new file mode 100644 index 000000000000..3d2adeabd511 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/conftest.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import os +import pytest +from dotenv import load_dotenv +from devtools_testutils import ( + test_proxy, + add_general_regex_sanitizer, + add_body_key_sanitizer, + add_header_regex_sanitizer, +) + +load_dotenv() + + +# aovid record sensitive identity information in recordings +@pytest.fixture(scope="session", autouse=True) +def add_sanitizers(test_proxy): + networkmanagement_subscription_id = os.environ.get("AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000") + networkmanagement_tenant_id = os.environ.get("AZURE_TENANT_ID", "00000000-0000-0000-0000-000000000000") + networkmanagement_client_id = os.environ.get("AZURE_CLIENT_ID", "00000000-0000-0000-0000-000000000000") + networkmanagement_client_secret = os.environ.get("AZURE_CLIENT_SECRET", "00000000-0000-0000-0000-000000000000") + add_general_regex_sanitizer(regex=networkmanagement_subscription_id, value="00000000-0000-0000-0000-000000000000") + add_general_regex_sanitizer(regex=networkmanagement_tenant_id, value="00000000-0000-0000-0000-000000000000") + add_general_regex_sanitizer(regex=networkmanagement_client_id, value="00000000-0000-0000-0000-000000000000") + add_general_regex_sanitizer(regex=networkmanagement_client_secret, value="00000000-0000-0000-0000-000000000000") + + add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]") + add_header_regex_sanitizer(key="Cookie", value="cookie;") + add_body_key_sanitizer(json_path="$..access_token", value="access_token") diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management.py new file mode 100644 index 000000000000..d65d71240d1d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management.py @@ -0,0 +1,223 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagement(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_put_bastion_shareable_link(self, resource_group): + response = self.client.begin_put_bastion_shareable_link( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_request={ + "vms": [ + { + "vm": {"id": "str", "location": "str", "name": "str", "tags": {"str": "str"}, "type": "str"}, + "bsl": "str", + "createdAt": "str", + "message": "str", + } + ] + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete_bastion_shareable_link(self, resource_group): + response = self.client.begin_delete_bastion_shareable_link( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_request={ + "vms": [ + { + "vm": {"id": "str", "location": "str", "name": "str", "tags": {"str": "str"}, "type": "str"}, + "bsl": "str", + "createdAt": "str", + "message": "str", + } + ] + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete_bastion_shareable_link_by_token(self, resource_group): + response = self.client.begin_delete_bastion_shareable_link_by_token( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_token_request={"tokens": ["str"]}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_bastion_shareable_link(self, resource_group): + response = self.client.get_bastion_shareable_link( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_request={ + "vms": [ + { + "vm": {"id": "str", "location": "str", "name": "str", "tags": {"str": "str"}, "type": "str"}, + "bsl": "str", + "createdAt": "str", + "message": "str", + } + ] + }, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_active_sessions(self, resource_group): + response = self.client.begin_get_active_sessions( + resource_group_name=resource_group.name, + bastion_host_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_disconnect_active_sessions(self, resource_group): + response = self.client.disconnect_active_sessions( + resource_group_name=resource_group.name, + bastion_host_name="str", + session_ids={"sessionIds": ["str"]}, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_check_dns_name_availability(self, resource_group): + response = self.client.check_dns_name_availability( + location="str", + domain_name_label="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_express_route_provider_port(self, resource_group): + response = self.client.express_route_provider_port( + providerport="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_active_connectivity_configurations(self, resource_group): + response = self.client.list_active_connectivity_configurations( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"regions": ["str"], "skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_active_security_admin_rules(self, resource_group): + response = self.client.list_active_security_admin_rules( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"regions": ["str"], "skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_network_manager_effective_connectivity_configurations(self, resource_group): + response = self.client.list_network_manager_effective_connectivity_configurations( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={"skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_network_manager_effective_security_admin_rules(self, resource_group): + response = self.client.list_network_manager_effective_security_admin_rules( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={"skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_supported_security_providers(self, resource_group): + response = self.client.supported_security_providers( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group): + response = self.client.begin_generatevirtualwanvpnserverconfigurationvpnprofile( + resource_group_name=resource_group.name, + virtual_wan_name="str", + vpn_client_params={"authenticationMethod": "str", "vpnServerConfigurationResourceId": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rule_collections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rule_collections_operations.py new file mode 100644 index 000000000000..a4023a1ce14e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rule_collections_operations.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAdminRuleCollectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.admin_rule_collections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.admin_rule_collections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.admin_rule_collections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_collection={ + "appliesToGroups": [{"networkGroupId": "str"}], + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.admin_rule_collections.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rule_collections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rule_collections_operations_async.py new file mode 100644 index 000000000000..8d5385b51983 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rule_collections_operations_async.py @@ -0,0 +1,95 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAdminRuleCollectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.admin_rule_collections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.admin_rule_collections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.admin_rule_collections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_collection={ + "appliesToGroups": [{"networkGroupId": "str"}], + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.admin_rule_collections.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rules_operations.py new file mode 100644 index 000000000000..cc7acc7e5822 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rules_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAdminRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.admin_rules.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.admin_rules.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.admin_rules.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + admin_rule={ + "kind": "Custom", + "access": "str", + "description": "str", + "destinationPortRanges": ["str"], + "destinations": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "resourceGuid": "str", + "sourcePortRanges": ["str"], + "sources": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.admin_rules.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rules_operations_async.py new file mode 100644 index 000000000000..473f5fa7aec4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_admin_rules_operations_async.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAdminRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.admin_rules.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.admin_rules.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.admin_rules.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + admin_rule={ + "kind": "Custom", + "access": "str", + "description": "str", + "destinationPortRanges": ["str"], + "destinations": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "resourceGuid": "str", + "sourcePortRanges": ["str"], + "sources": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.admin_rules.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_endpoint_connections_operations.py new file mode 100644 index 000000000000..1e68e243b783 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_endpoint_connections_operations.py @@ -0,0 +1,5559 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayPrivateEndpointConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.application_gateway_private_endpoint_connections.begin_delete( + resource_group_name=resource_group.name, + application_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update(self, resource_group): + response = self.client.application_gateway_private_endpoint_connections.begin_update( + resource_group_name=resource_group.name, + application_gateway_name="str", + connection_name="str", + parameters={ + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkServiceConnectionState": {"actionsRequired": "str", "description": "str", "status": "str"}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.application_gateway_private_endpoint_connections.get( + resource_group_name=resource_group.name, + application_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.application_gateway_private_endpoint_connections.list( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_endpoint_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_endpoint_connections_operations_async.py new file mode 100644 index 000000000000..8df9da9beaf5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_endpoint_connections_operations_async.py @@ -0,0 +1,5599 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayPrivateEndpointConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.application_gateway_private_endpoint_connections.begin_delete( + resource_group_name=resource_group.name, + application_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update(self, resource_group): + response = await ( + await self.client.application_gateway_private_endpoint_connections.begin_update( + resource_group_name=resource_group.name, + application_gateway_name="str", + connection_name="str", + parameters={ + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.application_gateway_private_endpoint_connections.get( + resource_group_name=resource_group.name, + application_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.application_gateway_private_endpoint_connections.list( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_link_resources_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_link_resources_operations.py new file mode 100644 index 000000000000..1fdf344e4bf2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_link_resources_operations.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayPrivateLinkResourcesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.application_gateway_private_link_resources.list( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_link_resources_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_link_resources_operations_async.py new file mode 100644 index 000000000000..9d947914777f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_private_link_resources_operations_async.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayPrivateLinkResourcesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.application_gateway_private_link_resources.list( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_default_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_default_operations.py new file mode 100644 index 000000000000..555161a3769b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_default_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayWafDynamicManifestsDefaultOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.application_gateway_waf_dynamic_manifests_default.get( + location="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_default_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_default_operations_async.py new file mode 100644 index 000000000000..925ec28c15b6 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_default_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayWafDynamicManifestsDefaultOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.application_gateway_waf_dynamic_manifests_default.get( + location="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_operations.py new file mode 100644 index 000000000000..3b4387c85405 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayWafDynamicManifestsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.application_gateway_waf_dynamic_manifests.get( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_operations_async.py new file mode 100644 index 000000000000..cd7c062e2482 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateway_waf_dynamic_manifests_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewayWafDynamicManifestsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = self.client.application_gateway_waf_dynamic_manifests.get( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateways_operations.py new file mode 100644 index 000000000000..4322b1e9157a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateways_operations.py @@ -0,0 +1,10272 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.application_gateways.begin_delete( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.application_gateways.get( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.application_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + application_gateway_name="str", + parameters={ + "authenticationCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "autoscaleConfiguration": {"minCapacity": 0, "maxCapacity": 0}, + "backendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [...], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "backendHttpSettingsCollection": [ + { + "affinityCookieName": "str", + "authenticationCertificates": [{"id": "str"}], + "connectionDraining": {"drainTimeoutInSec": 0, "enabled": bool}, + "cookieBasedAffinity": "str", + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "path": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "probeEnabled": bool, + "protocol": "str", + "provisioningState": "str", + "requestTimeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "backendSettingsCollection": [ + { + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "defaultPredefinedSslPolicy": "str", + "enableFips": bool, + "enableHttp2": bool, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "forceFirewallPolicyAssociation": bool, + "frontendIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "privateLinkConfiguration": {"id": "str"}, + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "frontendPorts": [ + {"etag": "str", "id": "str", "name": "str", "port": 0, "provisioningState": "str", "type": "str"} + ], + "gatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "globalConfiguration": {"enableRequestBuffering": bool, "enableResponseBuffering": bool}, + "httpListeners": [ + { + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "etag": "str", + "firewallPolicy": {"id": "str"}, + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostName": "str", + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "requireServerNameIndication": bool, + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "listeners": [ + { + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "location": "str", + "name": "str", + "operationalState": "str", + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "privateLinkConfigurations": [ + { + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "probes": [ + { + "etag": "str", + "host": "str", + "id": "str", + "interval": 0, + "match": {"body": "str", "statusCodes": ["str"]}, + "minServers": 0, + "name": "str", + "path": "str", + "pickHostNameFromBackendHttpSettings": bool, + "pickHostNameFromBackendSettings": bool, + "port": 0, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "type": "str", + "unhealthyThreshold": 0, + } + ], + "provisioningState": "str", + "redirectConfigurations": [ + { + "etag": "str", + "id": "str", + "includePath": bool, + "includeQueryString": bool, + "name": "str", + "pathRules": [{"id": "str"}], + "redirectType": "str", + "requestRoutingRules": [{"id": "str"}], + "targetListener": {"id": "str"}, + "targetUrl": "str", + "type": "str", + "urlPathMaps": [{"id": "str"}], + } + ], + "requestRoutingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "httpListener": {"id": "str"}, + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "ruleType": "str", + "type": "str", + "urlPathMap": {"id": "str"}, + } + ], + "resourceGuid": "str", + "rewriteRuleSets": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "rewriteRules": [ + { + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "urlConfiguration": { + "modifiedPath": "str", + "modifiedQueryString": "str", + "reroute": bool, + }, + }, + "conditions": [ + {"ignoreCase": bool, "negate": bool, "pattern": "str", "variable": "str"} + ], + "name": "str", + "ruleSequence": 0, + } + ], + } + ], + "routingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendSettings": {"id": "str"}, + "etag": "str", + "id": "str", + "listener": {"id": "str"}, + "name": "str", + "priority": 0, + "provisioningState": "str", + "ruleType": "str", + "type": "str", + } + ], + "sku": {"capacity": 0, "family": "str", "name": "str", "tier": "str"}, + "sslCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "password": "str", + "provisioningState": "str", + "publicCertData": "str", + "type": "str", + } + ], + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "sslProfiles": [ + { + "clientAuthConfiguration": {"verifyClientCertIssuerDN": bool, "verifyClientRevocation": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "trustedClientCertificates": [{"id": "str"}], + "type": "str", + } + ], + "tags": {"str": "str"}, + "trustedClientCertificates": [ + { + "clientCertIssuerDN": "str", + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "validatedCertData": "str", + } + ], + "trustedRootCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "type": "str", + "urlPathMaps": [ + { + "defaultBackendAddressPool": {"id": "str"}, + "defaultBackendHttpSettings": {"id": "str"}, + "defaultRedirectConfiguration": {"id": "str"}, + "defaultRewriteRuleSet": {"id": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "pathRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "id": "str", + "name": "str", + "paths": ["str"], + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "type": "str", + } + ], + "provisioningState": "str", + "type": "str", + } + ], + "webApplicationFirewallConfiguration": { + "enabled": bool, + "firewallMode": "str", + "ruleSetType": "str", + "ruleSetVersion": "str", + "disabledRuleGroups": [{"ruleGroupName": "str", "rules": [0]}], + "exclusions": [{"matchVariable": "str", "selector": "str", "selectorMatchOperator": "str"}], + "fileUploadLimitInMb": 0, + "maxRequestBodySize": 0, + "maxRequestBodySizeInKb": 0, + "requestBodyCheck": bool, + }, + "zones": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.application_gateways.update_tags( + resource_group_name=resource_group.name, + application_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.application_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.application_gateways.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_start(self, resource_group): + response = self.client.application_gateways.begin_start( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop(self, resource_group): + response = self.client.application_gateways.begin_stop( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_backend_health(self, resource_group): + response = self.client.application_gateways.begin_backend_health( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_backend_health_on_demand(self, resource_group): + response = self.client.application_gateways.begin_backend_health_on_demand( + resource_group_name=resource_group.name, + application_gateway_name="str", + probe_request={ + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "host": "str", + "match": {"body": "str", "statusCodes": ["str"]}, + "path": "str", + "pickHostNameFromBackendHttpSettings": bool, + "protocol": "str", + "timeout": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_available_server_variables(self, resource_group): + response = self.client.application_gateways.list_available_server_variables( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_available_request_headers(self, resource_group): + response = self.client.application_gateways.list_available_request_headers( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_available_response_headers(self, resource_group): + response = self.client.application_gateways.list_available_response_headers( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_available_waf_rule_sets(self, resource_group): + response = self.client.application_gateways.list_available_waf_rule_sets( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_available_ssl_options(self, resource_group): + response = self.client.application_gateways.list_available_ssl_options( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_available_ssl_predefined_policies(self, resource_group): + response = self.client.application_gateways.list_available_ssl_predefined_policies( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_ssl_predefined_policy(self, resource_group): + response = self.client.application_gateways.get_ssl_predefined_policy( + predefined_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateways_operations_async.py new file mode 100644 index 000000000000..528f1b9d6a19 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_gateways_operations_async.py @@ -0,0 +1,10388 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.application_gateways.begin_delete( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.application_gateways.get( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.application_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + application_gateway_name="str", + parameters={ + "authenticationCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "autoscaleConfiguration": {"minCapacity": 0, "maxCapacity": 0}, + "backendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [...], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": { + "subscriptions": ["str"] + }, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": { + "subscriptions": ["str"] + }, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "backendHttpSettingsCollection": [ + { + "affinityCookieName": "str", + "authenticationCertificates": [{"id": "str"}], + "connectionDraining": {"drainTimeoutInSec": 0, "enabled": bool}, + "cookieBasedAffinity": "str", + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "path": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "probeEnabled": bool, + "protocol": "str", + "provisioningState": "str", + "requestTimeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "backendSettingsCollection": [ + { + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "defaultPredefinedSslPolicy": "str", + "enableFips": bool, + "enableHttp2": bool, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "forceFirewallPolicyAssociation": bool, + "frontendIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "privateLinkConfiguration": {"id": "str"}, + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "frontendPorts": [ + { + "etag": "str", + "id": "str", + "name": "str", + "port": 0, + "provisioningState": "str", + "type": "str", + } + ], + "gatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "globalConfiguration": {"enableRequestBuffering": bool, "enableResponseBuffering": bool}, + "httpListeners": [ + { + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "etag": "str", + "firewallPolicy": {"id": "str"}, + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostName": "str", + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "requireServerNameIndication": bool, + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "listeners": [ + { + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "location": "str", + "name": "str", + "operationalState": "str", + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "privateLinkConfigurations": [ + { + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "probes": [ + { + "etag": "str", + "host": "str", + "id": "str", + "interval": 0, + "match": {"body": "str", "statusCodes": ["str"]}, + "minServers": 0, + "name": "str", + "path": "str", + "pickHostNameFromBackendHttpSettings": bool, + "pickHostNameFromBackendSettings": bool, + "port": 0, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "type": "str", + "unhealthyThreshold": 0, + } + ], + "provisioningState": "str", + "redirectConfigurations": [ + { + "etag": "str", + "id": "str", + "includePath": bool, + "includeQueryString": bool, + "name": "str", + "pathRules": [{"id": "str"}], + "redirectType": "str", + "requestRoutingRules": [{"id": "str"}], + "targetListener": {"id": "str"}, + "targetUrl": "str", + "type": "str", + "urlPathMaps": [{"id": "str"}], + } + ], + "requestRoutingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "httpListener": {"id": "str"}, + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "ruleType": "str", + "type": "str", + "urlPathMap": {"id": "str"}, + } + ], + "resourceGuid": "str", + "rewriteRuleSets": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "rewriteRules": [ + { + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "urlConfiguration": { + "modifiedPath": "str", + "modifiedQueryString": "str", + "reroute": bool, + }, + }, + "conditions": [ + {"ignoreCase": bool, "negate": bool, "pattern": "str", "variable": "str"} + ], + "name": "str", + "ruleSequence": 0, + } + ], + } + ], + "routingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendSettings": {"id": "str"}, + "etag": "str", + "id": "str", + "listener": {"id": "str"}, + "name": "str", + "priority": 0, + "provisioningState": "str", + "ruleType": "str", + "type": "str", + } + ], + "sku": {"capacity": 0, "family": "str", "name": "str", "tier": "str"}, + "sslCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "password": "str", + "provisioningState": "str", + "publicCertData": "str", + "type": "str", + } + ], + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "sslProfiles": [ + { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": bool, + "verifyClientRevocation": "str", + }, + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "trustedClientCertificates": [{"id": "str"}], + "type": "str", + } + ], + "tags": {"str": "str"}, + "trustedClientCertificates": [ + { + "clientCertIssuerDN": "str", + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "validatedCertData": "str", + } + ], + "trustedRootCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "type": "str", + "urlPathMaps": [ + { + "defaultBackendAddressPool": {"id": "str"}, + "defaultBackendHttpSettings": {"id": "str"}, + "defaultRedirectConfiguration": {"id": "str"}, + "defaultRewriteRuleSet": {"id": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "pathRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "id": "str", + "name": "str", + "paths": ["str"], + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "type": "str", + } + ], + "provisioningState": "str", + "type": "str", + } + ], + "webApplicationFirewallConfiguration": { + "enabled": bool, + "firewallMode": "str", + "ruleSetType": "str", + "ruleSetVersion": "str", + "disabledRuleGroups": [{"ruleGroupName": "str", "rules": [0]}], + "exclusions": [{"matchVariable": "str", "selector": "str", "selectorMatchOperator": "str"}], + "fileUploadLimitInMb": 0, + "maxRequestBodySize": 0, + "maxRequestBodySizeInKb": 0, + "requestBodyCheck": bool, + }, + "zones": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.application_gateways.update_tags( + resource_group_name=resource_group.name, + application_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.application_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.application_gateways.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_start(self, resource_group): + response = await ( + await self.client.application_gateways.begin_start( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop(self, resource_group): + response = await ( + await self.client.application_gateways.begin_stop( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_backend_health(self, resource_group): + response = await ( + await self.client.application_gateways.begin_backend_health( + resource_group_name=resource_group.name, + application_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_backend_health_on_demand(self, resource_group): + response = await ( + await self.client.application_gateways.begin_backend_health_on_demand( + resource_group_name=resource_group.name, + application_gateway_name="str", + probe_request={ + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "host": "str", + "match": {"body": "str", "statusCodes": ["str"]}, + "path": "str", + "pickHostNameFromBackendHttpSettings": bool, + "protocol": "str", + "timeout": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_available_server_variables(self, resource_group): + response = await self.client.application_gateways.list_available_server_variables( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_available_request_headers(self, resource_group): + response = await self.client.application_gateways.list_available_request_headers( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_available_response_headers(self, resource_group): + response = await self.client.application_gateways.list_available_response_headers( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_available_waf_rule_sets(self, resource_group): + response = await self.client.application_gateways.list_available_waf_rule_sets( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_available_ssl_options(self, resource_group): + response = await self.client.application_gateways.list_available_ssl_options( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_available_ssl_predefined_policies(self, resource_group): + response = self.client.application_gateways.list_available_ssl_predefined_policies( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_ssl_predefined_policy(self, resource_group): + response = await self.client.application_gateways.get_ssl_predefined_policy( + predefined_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_security_groups_operations.py new file mode 100644 index 000000000000..e1ae87aa4e51 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_security_groups_operations.py @@ -0,0 +1,99 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationSecurityGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.application_security_groups.begin_delete( + resource_group_name=resource_group.name, + application_security_group_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.application_security_groups.get( + resource_group_name=resource_group.name, + application_security_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.application_security_groups.begin_create_or_update( + resource_group_name=resource_group.name, + application_security_group_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.application_security_groups.update_tags( + resource_group_name=resource_group.name, + application_security_group_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.application_security_groups.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.application_security_groups.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_security_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_security_groups_operations_async.py new file mode 100644 index 000000000000..28ffa54a5b68 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_application_security_groups_operations_async.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementApplicationSecurityGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.application_security_groups.begin_delete( + resource_group_name=resource_group.name, + application_security_group_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.application_security_groups.get( + resource_group_name=resource_group.name, + application_security_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.application_security_groups.begin_create_or_update( + resource_group_name=resource_group.name, + application_security_group_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.application_security_groups.update_tags( + resource_group_name=resource_group.name, + application_security_group_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.application_security_groups.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.application_security_groups.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_async.py new file mode 100644 index 000000000000..2b415e42bba5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_async.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_put_bastion_shareable_link(self, resource_group): + response = await ( + await self.client.begin_put_bastion_shareable_link( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_request={ + "vms": [ + { + "vm": { + "id": "str", + "location": "str", + "name": "str", + "tags": {"str": "str"}, + "type": "str", + }, + "bsl": "str", + "createdAt": "str", + "message": "str", + } + ] + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete_bastion_shareable_link(self, resource_group): + response = await ( + await self.client.begin_delete_bastion_shareable_link( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_request={ + "vms": [ + { + "vm": { + "id": "str", + "location": "str", + "name": "str", + "tags": {"str": "str"}, + "type": "str", + }, + "bsl": "str", + "createdAt": "str", + "message": "str", + } + ] + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete_bastion_shareable_link_by_token(self, resource_group): + response = await ( + await self.client.begin_delete_bastion_shareable_link_by_token( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_token_request={"tokens": ["str"]}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_bastion_shareable_link(self, resource_group): + response = self.client.get_bastion_shareable_link( + resource_group_name=resource_group.name, + bastion_host_name="str", + bsl_request={ + "vms": [ + { + "vm": {"id": "str", "location": "str", "name": "str", "tags": {"str": "str"}, "type": "str"}, + "bsl": "str", + "createdAt": "str", + "message": "str", + } + ] + }, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_active_sessions(self, resource_group): + response = await ( + await self.client.begin_get_active_sessions( + resource_group_name=resource_group.name, + bastion_host_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_disconnect_active_sessions(self, resource_group): + response = self.client.disconnect_active_sessions( + resource_group_name=resource_group.name, + bastion_host_name="str", + session_ids={"sessionIds": ["str"]}, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_check_dns_name_availability(self, resource_group): + response = await self.client.check_dns_name_availability( + location="str", + domain_name_label="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_express_route_provider_port(self, resource_group): + response = await self.client.express_route_provider_port( + providerport="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_active_connectivity_configurations(self, resource_group): + response = await self.client.list_active_connectivity_configurations( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"regions": ["str"], "skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_active_security_admin_rules(self, resource_group): + response = await self.client.list_active_security_admin_rules( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"regions": ["str"], "skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_network_manager_effective_connectivity_configurations(self, resource_group): + response = await self.client.list_network_manager_effective_connectivity_configurations( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={"skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_network_manager_effective_security_admin_rules(self, resource_group): + response = await self.client.list_network_manager_effective_security_admin_rules( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={"skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_supported_security_providers(self, resource_group): + response = await self.client.supported_security_providers( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group): + response = await ( + await self.client.begin_generatevirtualwanvpnserverconfigurationvpnprofile( + resource_group_name=resource_group.name, + virtual_wan_name="str", + vpn_client_params={"authenticationMethod": "str", "vpnServerConfigurationResourceId": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_delegations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_delegations_operations.py new file mode 100644 index 000000000000..21ac32e4f715 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_delegations_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableDelegationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.available_delegations.list( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_delegations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_delegations_operations_async.py new file mode 100644 index 000000000000..50a402481501 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_delegations_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableDelegationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.available_delegations.list( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_endpoint_services_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_endpoint_services_operations.py new file mode 100644 index 000000000000..d70a2128f93e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_endpoint_services_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableEndpointServicesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.available_endpoint_services.list( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_endpoint_services_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_endpoint_services_operations_async.py new file mode 100644 index 000000000000..fa2136434fd9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_endpoint_services_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableEndpointServicesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.available_endpoint_services.list( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_private_endpoint_types_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_private_endpoint_types_operations.py new file mode 100644 index 000000000000..438842f02e35 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_private_endpoint_types_operations.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailablePrivateEndpointTypesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.available_private_endpoint_types.list( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.available_private_endpoint_types.list_by_resource_group( + location="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_private_endpoint_types_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_private_endpoint_types_operations_async.py new file mode 100644 index 000000000000..f6abfd67fcee --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_private_endpoint_types_operations_async.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailablePrivateEndpointTypesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.available_private_endpoint_types.list( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.available_private_endpoint_types.list_by_resource_group( + location="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_resource_group_delegations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_resource_group_delegations_operations.py new file mode 100644 index 000000000000..a5fefadd6559 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_resource_group_delegations_operations.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableResourceGroupDelegationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.available_resource_group_delegations.list( + location="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_resource_group_delegations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_resource_group_delegations_operations_async.py new file mode 100644 index 000000000000..42e33d6ec9a6 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_resource_group_delegations_operations_async.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableResourceGroupDelegationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.available_resource_group_delegations.list( + location="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_service_aliases_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_service_aliases_operations.py new file mode 100644 index 000000000000..d1c4d03ecf28 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_service_aliases_operations.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableServiceAliasesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.available_service_aliases.list( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.available_service_aliases.list_by_resource_group( + resource_group_name=resource_group.name, + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_service_aliases_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_service_aliases_operations_async.py new file mode 100644 index 000000000000..c6fda1a5193f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_available_service_aliases_operations_async.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAvailableServiceAliasesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.available_service_aliases.list( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.available_service_aliases.list_by_resource_group( + resource_group_name=resource_group.name, + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewall_fqdn_tags_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewall_fqdn_tags_operations.py new file mode 100644 index 000000000000..0d8a6ce183ec --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewall_fqdn_tags_operations.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAzureFirewallFqdnTagsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.azure_firewall_fqdn_tags.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewall_fqdn_tags_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewall_fqdn_tags_operations_async.py new file mode 100644 index 000000000000..2a743151b9ea --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewall_fqdn_tags_operations_async.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAzureFirewallFqdnTagsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.azure_firewall_fqdn_tags.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewalls_operations.py new file mode 100644 index 000000000000..9f2e33799834 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewalls_operations.py @@ -0,0 +1,232 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAzureFirewallsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.azure_firewalls.begin_delete( + resource_group_name=resource_group.name, + azure_firewall_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.azure_firewalls.get( + resource_group_name=resource_group.name, + azure_firewall_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.azure_firewalls.begin_create_or_update( + resource_group_name=resource_group.name, + azure_firewall_name="str", + parameters={ + "applicationRuleCollections": [ + { + "action": {"type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "rules": [ + { + "description": "str", + "fqdnTags": ["str"], + "name": "str", + "protocols": [{"port": 0, "protocolType": "str"}], + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + "targetFqdns": ["str"], + } + ], + } + ], + "autoscaleConfiguration": {"maxCapacity": 0, "minCapacity": 0}, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "hubIPAddresses": { + "privateIPAddress": "str", + "publicIPs": {"addresses": [{"address": "str"}], "count": 0}, + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "ipGroups": [{"changeNumber": "str", "id": "str"}], + "location": "str", + "managementIpConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + }, + "name": "str", + "natRuleCollections": [ + { + "action": {"type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "rules": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocols": ["str"], + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + "translatedAddress": "str", + "translatedFqdn": "str", + "translatedPort": "str", + } + ], + } + ], + "networkRuleCollections": [ + { + "action": {"type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "rules": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationFqdns": ["str"], + "destinationIpGroups": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocols": ["str"], + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + } + ], + } + ], + "provisioningState": "str", + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "threatIntelMode": "str", + "type": "str", + "virtualHub": {"id": "str"}, + "zones": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.azure_firewalls.begin_update_tags( + resource_group_name=resource_group.name, + azure_firewall_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.azure_firewalls.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.azure_firewalls.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_learned_prefixes(self, resource_group): + response = self.client.azure_firewalls.begin_list_learned_prefixes( + resource_group_name=resource_group.name, + azure_firewall_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_packet_capture(self, resource_group): + response = self.client.azure_firewalls.begin_packet_capture( + resource_group_name=resource_group.name, + azure_firewall_name="str", + parameters={ + "durationInSeconds": 0, + "fileName": "str", + "filters": [{"destinationPorts": ["str"], "destinations": ["str"], "sources": ["str"]}], + "flags": [{"type": "str"}], + "numberOfPacketsToCapture": 0, + "protocol": "str", + "sasUrl": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewalls_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewalls_operations_async.py new file mode 100644 index 000000000000..448b6582f88f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_azure_firewalls_operations_async.py @@ -0,0 +1,243 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementAzureFirewallsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.azure_firewalls.begin_delete( + resource_group_name=resource_group.name, + azure_firewall_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.azure_firewalls.get( + resource_group_name=resource_group.name, + azure_firewall_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.azure_firewalls.begin_create_or_update( + resource_group_name=resource_group.name, + azure_firewall_name="str", + parameters={ + "applicationRuleCollections": [ + { + "action": {"type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "rules": [ + { + "description": "str", + "fqdnTags": ["str"], + "name": "str", + "protocols": [{"port": 0, "protocolType": "str"}], + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + "targetFqdns": ["str"], + } + ], + } + ], + "autoscaleConfiguration": {"maxCapacity": 0, "minCapacity": 0}, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "hubIPAddresses": { + "privateIPAddress": "str", + "publicIPs": {"addresses": [{"address": "str"}], "count": 0}, + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "ipGroups": [{"changeNumber": "str", "id": "str"}], + "location": "str", + "managementIpConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + }, + "name": "str", + "natRuleCollections": [ + { + "action": {"type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "rules": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocols": ["str"], + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + "translatedAddress": "str", + "translatedFqdn": "str", + "translatedPort": "str", + } + ], + } + ], + "networkRuleCollections": [ + { + "action": {"type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "rules": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationFqdns": ["str"], + "destinationIpGroups": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocols": ["str"], + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + } + ], + } + ], + "provisioningState": "str", + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "threatIntelMode": "str", + "type": "str", + "virtualHub": {"id": "str"}, + "zones": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.azure_firewalls.begin_update_tags( + resource_group_name=resource_group.name, + azure_firewall_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.azure_firewalls.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.azure_firewalls.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_learned_prefixes(self, resource_group): + response = await ( + await self.client.azure_firewalls.begin_list_learned_prefixes( + resource_group_name=resource_group.name, + azure_firewall_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_packet_capture(self, resource_group): + response = await ( + await self.client.azure_firewalls.begin_packet_capture( + resource_group_name=resource_group.name, + azure_firewall_name="str", + parameters={ + "durationInSeconds": 0, + "fileName": "str", + "filters": [{"destinationPorts": ["str"], "destinations": ["str"], "sources": ["str"]}], + "flags": [{"type": "str"}], + "numberOfPacketsToCapture": 0, + "protocol": "str", + "sasUrl": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bastion_hosts_operations.py new file mode 100644 index 000000000000..734e5520633d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bastion_hosts_operations.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementBastionHostsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.bastion_hosts.begin_delete( + resource_group_name=resource_group.name, + bastion_host_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.bastion_hosts.get( + resource_group_name=resource_group.name, + bastion_host_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.bastion_hosts.begin_create_or_update( + resource_group_name=resource_group.name, + bastion_host_name="str", + parameters={ + "disableCopyPaste": False, + "dnsName": "str", + "enableFileCopy": False, + "enableIpConnect": False, + "enableKerberos": False, + "enableSessionRecording": False, + "enableShareableLink": False, + "enableTunneling": False, + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "location": "str", + "name": "str", + "networkAcls": {"ipRules": [{"addressPrefix": "str"}]}, + "provisioningState": "str", + "scaleUnits": 0, + "sku": {"name": "Standard"}, + "tags": {"str": "str"}, + "type": "str", + "virtualNetwork": {"id": "str"}, + "zones": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.bastion_hosts.begin_update_tags( + resource_group_name=resource_group.name, + bastion_host_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.bastion_hosts.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.bastion_hosts.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bastion_hosts_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bastion_hosts_operations_async.py new file mode 100644 index 000000000000..9f717ef4060e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bastion_hosts_operations_async.py @@ -0,0 +1,130 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementBastionHostsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.bastion_hosts.begin_delete( + resource_group_name=resource_group.name, + bastion_host_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.bastion_hosts.get( + resource_group_name=resource_group.name, + bastion_host_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.bastion_hosts.begin_create_or_update( + resource_group_name=resource_group.name, + bastion_host_name="str", + parameters={ + "disableCopyPaste": False, + "dnsName": "str", + "enableFileCopy": False, + "enableIpConnect": False, + "enableKerberos": False, + "enableSessionRecording": False, + "enableShareableLink": False, + "enableTunneling": False, + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "location": "str", + "name": "str", + "networkAcls": {"ipRules": [{"addressPrefix": "str"}]}, + "provisioningState": "str", + "scaleUnits": 0, + "sku": {"name": "Standard"}, + "tags": {"str": "str"}, + "type": "str", + "virtualNetwork": {"id": "str"}, + "zones": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.bastion_hosts.begin_update_tags( + resource_group_name=resource_group.name, + bastion_host_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.bastion_hosts.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.bastion_hosts.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bgp_service_communities_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bgp_service_communities_operations.py new file mode 100644 index 000000000000..38672977d358 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bgp_service_communities_operations.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementBgpServiceCommunitiesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.bgp_service_communities.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bgp_service_communities_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bgp_service_communities_operations_async.py new file mode 100644 index 000000000000..c94971a76cb4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_bgp_service_communities_operations_async.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementBgpServiceCommunitiesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.bgp_service_communities.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_configuration_policy_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_configuration_policy_groups_operations.py new file mode 100644 index 000000000000..85e6f212ae45 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_configuration_policy_groups_operations.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementConfigurationPolicyGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.configuration_policy_groups.begin_create_or_update( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + configuration_policy_group_name="str", + vpn_server_configuration_policy_group_parameters={ + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.configuration_policy_groups.begin_delete( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + configuration_policy_group_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.configuration_policy_groups.get( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + configuration_policy_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_vpn_server_configuration(self, resource_group): + response = self.client.configuration_policy_groups.list_by_vpn_server_configuration( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_configuration_policy_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_configuration_policy_groups_operations_async.py new file mode 100644 index 000000000000..b29694823697 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_configuration_policy_groups_operations_async.py @@ -0,0 +1,86 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementConfigurationPolicyGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.configuration_policy_groups.begin_create_or_update( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + configuration_policy_group_name="str", + vpn_server_configuration_policy_group_parameters={ + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.configuration_policy_groups.begin_delete( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + configuration_policy_group_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.configuration_policy_groups.get( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + configuration_policy_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_vpn_server_configuration(self, resource_group): + response = self.client.configuration_policy_groups.list_by_vpn_server_configuration( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connection_monitors_operations.py new file mode 100644 index 000000000000..64217e9451f0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connection_monitors_operations.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementConnectionMonitorsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.connection_monitors.begin_create_or_update( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + parameters={ + "autoStart": True, + "destination": {"address": "str", "port": 0, "resourceId": "str"}, + "endpoints": [ + { + "name": "str", + "address": "str", + "coverageLevel": "str", + "filter": {"items": [{"address": "str", "type": "str"}], "type": "str"}, + "locationDetails": {"region": "str"}, + "resourceId": "str", + "scope": {"exclude": [{"address": "str"}], "include": [{"address": "str"}]}, + "subscriptionId": "str", + "type": "str", + } + ], + "location": "str", + "monitoringIntervalInSeconds": 60, + "notes": "str", + "outputs": [{"type": "str", "workspaceSettings": {"workspaceResourceId": "str"}}], + "source": {"resourceId": "str", "port": 0}, + "tags": {"str": "str"}, + "testConfigurations": [ + { + "name": "str", + "protocol": "str", + "httpConfiguration": { + "method": "str", + "path": "str", + "port": 0, + "preferHTTPS": bool, + "requestHeaders": [{"name": "str", "value": "str"}], + "validStatusCodeRanges": ["str"], + }, + "icmpConfiguration": {"disableTraceRoute": bool}, + "preferredIPVersion": "str", + "successThreshold": {"checksFailedPercent": 0, "roundTripTimeMs": 0.0}, + "tcpConfiguration": {"destinationPortBehavior": "str", "disableTraceRoute": bool, "port": 0}, + "testFrequencySec": 0, + } + ], + "testGroups": [ + { + "destinations": ["str"], + "name": "str", + "sources": ["str"], + "testConfigurations": ["str"], + "disable": bool, + } + ], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.connection_monitors.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.connection_monitors.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.connection_monitors.update_tags( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop(self, resource_group): + response = self.client.connection_monitors.begin_stop( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_start(self, resource_group): + response = self.client.connection_monitors.begin_start( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_query(self, resource_group): + response = self.client.connection_monitors.begin_query( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.connection_monitors.list( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connection_monitors_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connection_monitors_operations_async.py new file mode 100644 index 000000000000..f52e6ee564c5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connection_monitors_operations_async.py @@ -0,0 +1,189 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementConnectionMonitorsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.connection_monitors.begin_create_or_update( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + parameters={ + "autoStart": True, + "destination": {"address": "str", "port": 0, "resourceId": "str"}, + "endpoints": [ + { + "name": "str", + "address": "str", + "coverageLevel": "str", + "filter": {"items": [{"address": "str", "type": "str"}], "type": "str"}, + "locationDetails": {"region": "str"}, + "resourceId": "str", + "scope": {"exclude": [{"address": "str"}], "include": [{"address": "str"}]}, + "subscriptionId": "str", + "type": "str", + } + ], + "location": "str", + "monitoringIntervalInSeconds": 60, + "notes": "str", + "outputs": [{"type": "str", "workspaceSettings": {"workspaceResourceId": "str"}}], + "source": {"resourceId": "str", "port": 0}, + "tags": {"str": "str"}, + "testConfigurations": [ + { + "name": "str", + "protocol": "str", + "httpConfiguration": { + "method": "str", + "path": "str", + "port": 0, + "preferHTTPS": bool, + "requestHeaders": [{"name": "str", "value": "str"}], + "validStatusCodeRanges": ["str"], + }, + "icmpConfiguration": {"disableTraceRoute": bool}, + "preferredIPVersion": "str", + "successThreshold": {"checksFailedPercent": 0, "roundTripTimeMs": 0.0}, + "tcpConfiguration": { + "destinationPortBehavior": "str", + "disableTraceRoute": bool, + "port": 0, + }, + "testFrequencySec": 0, + } + ], + "testGroups": [ + { + "destinations": ["str"], + "name": "str", + "sources": ["str"], + "testConfigurations": ["str"], + "disable": bool, + } + ], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.connection_monitors.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.connection_monitors.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.connection_monitors.update_tags( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop(self, resource_group): + response = await ( + await self.client.connection_monitors.begin_stop( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_start(self, resource_group): + response = await ( + await self.client.connection_monitors.begin_start( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_query(self, resource_group): + response = await ( + await self.client.connection_monitors.begin_query( + resource_group_name=resource_group.name, + network_watcher_name="str", + connection_monitor_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.connection_monitors.list( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connectivity_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connectivity_configurations_operations.py new file mode 100644 index 000000000000..98441d11e85f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connectivity_configurations_operations.py @@ -0,0 +1,94 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementConnectivityConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.connectivity_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.connectivity_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + connectivity_configuration={ + "appliesToGroups": [ + {"groupConnectivity": "str", "networkGroupId": "str", "isGlobal": "str", "useHubGateway": "str"} + ], + "connectivityTopology": "str", + "deleteExistingPeering": "str", + "description": "str", + "etag": "str", + "hubs": [{"resourceId": "str", "resourceType": "str"}], + "id": "str", + "isGlobal": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.connectivity_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.connectivity_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connectivity_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connectivity_configurations_operations_async.py new file mode 100644 index 000000000000..ae8297da8b69 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_connectivity_configurations_operations_async.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementConnectivityConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.connectivity_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.connectivity_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + connectivity_configuration={ + "appliesToGroups": [ + {"groupConnectivity": "str", "networkGroupId": "str", "isGlobal": "str", "useHubGateway": "str"} + ], + "connectivityTopology": "str", + "deleteExistingPeering": "str", + "description": "str", + "etag": "str", + "hubs": [{"resourceId": "str", "resourceType": "str"}], + "id": "str", + "isGlobal": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.connectivity_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.connectivity_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_custom_ip_prefixes_operations.py new file mode 100644 index 000000000000..995b92b05629 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_custom_ip_prefixes_operations.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementCustomIPPrefixesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.custom_ip_prefixes.begin_delete( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.custom_ip_prefixes.get( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.custom_ip_prefixes.begin_create_or_update( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + parameters={ + "asn": "str", + "authorizationMessage": "str", + "childCustomIpPrefixes": [{"id": "str"}], + "cidr": "str", + "commissionedState": "str", + "customIpPrefixParent": {"id": "str"}, + "etag": "str", + "expressRouteAdvertise": bool, + "extendedLocation": {"name": "str", "type": "str"}, + "failedReason": "str", + "geo": "str", + "id": "str", + "location": "str", + "name": "str", + "noInternetAdvertise": bool, + "prefixType": "str", + "provisioningState": "str", + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "signedMessage": "str", + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.custom_ip_prefixes.update_tags( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.custom_ip_prefixes.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.custom_ip_prefixes.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_custom_ip_prefixes_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_custom_ip_prefixes_operations_async.py new file mode 100644 index 000000000000..da8b6f98849c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_custom_ip_prefixes_operations_async.py @@ -0,0 +1,119 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementCustomIPPrefixesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.custom_ip_prefixes.begin_delete( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.custom_ip_prefixes.get( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.custom_ip_prefixes.begin_create_or_update( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + parameters={ + "asn": "str", + "authorizationMessage": "str", + "childCustomIpPrefixes": [{"id": "str"}], + "cidr": "str", + "commissionedState": "str", + "customIpPrefixParent": {"id": "str"}, + "etag": "str", + "expressRouteAdvertise": bool, + "extendedLocation": {"name": "str", "type": "str"}, + "failedReason": "str", + "geo": "str", + "id": "str", + "location": "str", + "name": "str", + "noInternetAdvertise": bool, + "prefixType": "str", + "provisioningState": "str", + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "signedMessage": "str", + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.custom_ip_prefixes.update_tags( + resource_group_name=resource_group.name, + custom_ip_prefix_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.custom_ip_prefixes.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.custom_ip_prefixes.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_custom_policies_operations.py new file mode 100644 index 000000000000..49d660575df9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_custom_policies_operations.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDdosCustomPoliciesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.ddos_custom_policies.begin_delete( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.ddos_custom_policies.get( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.ddos_custom_policies.begin_create_or_update( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.ddos_custom_policies.update_tags( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_custom_policies_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_custom_policies_operations_async.py new file mode 100644 index 000000000000..77f83c3f50a8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_custom_policies_operations_async.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDdosCustomPoliciesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.ddos_custom_policies.begin_delete( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.ddos_custom_policies.get( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.ddos_custom_policies.begin_create_or_update( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.ddos_custom_policies.update_tags( + resource_group_name=resource_group.name, + ddos_custom_policy_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_protection_plans_operations.py new file mode 100644 index 000000000000..1cfc394705da --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_protection_plans_operations.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDdosProtectionPlansOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.ddos_protection_plans.begin_delete( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.ddos_protection_plans.get( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.ddos_protection_plans.begin_create_or_update( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIPAddresses": [{"id": "str"}], + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualNetworks": [{"id": "str"}], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.ddos_protection_plans.update_tags( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.ddos_protection_plans.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.ddos_protection_plans.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_protection_plans_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_protection_plans_operations_async.py new file mode 100644 index 000000000000..d46ec0361b4f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ddos_protection_plans_operations_async.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDdosProtectionPlansOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.ddos_protection_plans.begin_delete( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.ddos_protection_plans.get( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.ddos_protection_plans.begin_create_or_update( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIPAddresses": [{"id": "str"}], + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualNetworks": [{"id": "str"}], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.ddos_protection_plans.update_tags( + resource_group_name=resource_group.name, + ddos_protection_plan_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.ddos_protection_plans.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.ddos_protection_plans.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_default_security_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_default_security_rules_operations.py new file mode 100644 index 000000000000..db562a272512 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_default_security_rules_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDefaultSecurityRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.default_security_rules.list( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.default_security_rules.get( + resource_group_name=resource_group.name, + network_security_group_name="str", + default_security_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_default_security_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_default_security_rules_operations_async.py new file mode 100644 index 000000000000..aacd4aff289a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_default_security_rules_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDefaultSecurityRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.default_security_rules.list( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.default_security_rules.get( + resource_group_name=resource_group.name, + network_security_group_name="str", + default_security_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_dscp_configuration_operations.py new file mode 100644 index 000000000000..f83efd5bf1af --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_dscp_configuration_operations.py @@ -0,0 +1,6139 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDscpConfigurationOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.dscp_configuration.begin_create_or_update( + resource_group_name=resource_group.name, + dscp_configuration_name="str", + parameters={ + "associatedNetworkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "destinationIpRanges": [{"endIP": "str", "startIP": "str"}], + "destinationPortRanges": [{"end": 0, "start": 0}], + "etag": "str", + "id": "str", + "location": "str", + "markings": [0], + "name": "str", + "protocol": "str", + "provisioningState": "str", + "qosCollectionId": "str", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [{"endIP": "str", "startIP": "str"}], + "destinationPortRanges": [{"end": 0, "start": 0}], + "markings": [0], + "protocol": "str", + "sourceIpRanges": [{"endIP": "str", "startIP": "str"}], + "sourcePortRanges": [{"end": 0, "start": 0}], + } + ], + "resourceGuid": "str", + "sourceIpRanges": [{"endIP": "str", "startIP": "str"}], + "sourcePortRanges": [{"end": 0, "start": 0}], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.dscp_configuration.begin_delete( + resource_group_name=resource_group.name, + dscp_configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.dscp_configuration.get( + resource_group_name=resource_group.name, + dscp_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.dscp_configuration.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.dscp_configuration.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_dscp_configuration_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_dscp_configuration_operations_async.py new file mode 100644 index 000000000000..cdeb998d4f12 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_dscp_configuration_operations_async.py @@ -0,0 +1,6166 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementDscpConfigurationOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.dscp_configuration.begin_create_or_update( + resource_group_name=resource_group.name, + dscp_configuration_name="str", + parameters={ + "associatedNetworkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "destinationIpRanges": [{"endIP": "str", "startIP": "str"}], + "destinationPortRanges": [{"end": 0, "start": 0}], + "etag": "str", + "id": "str", + "location": "str", + "markings": [0], + "name": "str", + "protocol": "str", + "provisioningState": "str", + "qosCollectionId": "str", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [{"endIP": "str", "startIP": "str"}], + "destinationPortRanges": [{"end": 0, "start": 0}], + "markings": [0], + "protocol": "str", + "sourceIpRanges": [{"endIP": "str", "startIP": "str"}], + "sourcePortRanges": [{"end": 0, "start": 0}], + } + ], + "resourceGuid": "str", + "sourceIpRanges": [{"endIP": "str", "startIP": "str"}], + "sourcePortRanges": [{"end": 0, "start": 0}], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.dscp_configuration.begin_delete( + resource_group_name=resource_group.name, + dscp_configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.dscp_configuration.get( + resource_group_name=resource_group.name, + dscp_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.dscp_configuration.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.dscp_configuration.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_authorizations_operations.py new file mode 100644 index 000000000000..14b0e571408b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_authorizations_operations.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitAuthorizationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_circuit_authorizations.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + authorization_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_circuit_authorizations.get( + resource_group_name=resource_group.name, + circuit_name="str", + authorization_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_circuit_authorizations.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + authorization_name="str", + authorization_parameters={ + "authorizationKey": "str", + "authorizationUseStatus": "str", + "connectionResourceUri": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_circuit_authorizations.list( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_authorizations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_authorizations_operations_async.py new file mode 100644 index 000000000000..0367e2673cdf --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_authorizations_operations_async.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitAuthorizationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_circuit_authorizations.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + authorization_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_circuit_authorizations.get( + resource_group_name=resource_group.name, + circuit_name="str", + authorization_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_circuit_authorizations.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + authorization_name="str", + authorization_parameters={ + "authorizationKey": "str", + "authorizationUseStatus": "str", + "connectionResourceUri": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_circuit_authorizations.list( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_connections_operations.py new file mode 100644 index 000000000000..71f418d4623b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_connections_operations.py @@ -0,0 +1,87 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_circuit_connections.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_circuit_connections.get( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_circuit_connections.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + express_route_circuit_connection_parameters={ + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": {"addressPrefix": "str", "circuitConnectionStatus": "str"}, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_circuit_connections.list( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_connections_operations_async.py new file mode 100644 index 000000000000..0bc360bb94a7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_connections_operations_async.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_circuit_connections.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_circuit_connections.get( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_circuit_connections.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + express_route_circuit_connection_parameters={ + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": {"addressPrefix": "str", "circuitConnectionStatus": "str"}, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_circuit_connections.list( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_peerings_operations.py new file mode 100644 index 000000000000..b454724f34cf --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_peerings_operations.py @@ -0,0 +1,144 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitPeeringsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_circuit_peerings.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_circuit_peerings.get( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_circuit_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + peering_parameters={ + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": {"addressPrefix": "str", "circuitConnectionStatus": "str"}, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": {"primarybytesIn": 0, "primarybytesOut": 0, "secondarybytesIn": 0, "secondarybytesOut": 0}, + "type": "str", + "vlanId": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_circuit_peerings.list( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_peerings_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_peerings_operations_async.py new file mode 100644 index 000000000000..a66975d655c6 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuit_peerings_operations_async.py @@ -0,0 +1,149 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitPeeringsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_circuit_peerings.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_circuit_peerings.get( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_circuit_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + peering_parameters={ + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": {"addressPrefix": "str", "circuitConnectionStatus": "str"}, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": {"primarybytesIn": 0, "primarybytesOut": 0, "secondarybytesIn": 0, "secondarybytesOut": 0}, + "type": "str", + "vlanId": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_circuit_peerings.list( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuits_operations.py new file mode 100644 index 000000000000..fab0d7655983 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuits_operations.py @@ -0,0 +1,280 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_circuits.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_circuits.get( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_circuits.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + parameters={ + "allowClassicOperations": bool, + "authorizationKey": "str", + "authorizationStatus": "str", + "authorizations": [ + { + "authorizationKey": "str", + "authorizationUseStatus": "str", + "connectionResourceUri": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "bandwidthInGbps": 0.0, + "circuitProvisioningState": "str", + "enableDirectPortRateLimit": bool, + "etag": "str", + "expressRoutePort": {"id": "str"}, + "gatewayManagerEtag": "str", + "globalReachEnabled": bool, + "id": "str", + "location": "str", + "name": "str", + "peerings": [ + { + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": { + "addressPrefix": "str", + "circuitConnectionStatus": "str", + }, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": { + "primarybytesIn": 0, + "primarybytesOut": 0, + "secondarybytesIn": 0, + "secondarybytesOut": 0, + }, + "type": "str", + "vlanId": 0, + } + ], + "provisioningState": "str", + "serviceKey": "str", + "serviceProviderNotes": "str", + "serviceProviderProperties": { + "bandwidthInMbps": 0, + "peeringLocation": "str", + "serviceProviderName": "str", + }, + "serviceProviderProvisioningState": "str", + "sku": {"family": "str", "name": "str", "tier": "str"}, + "stag": 0, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.express_route_circuits.update_tags( + resource_group_name=resource_group.name, + circuit_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_arp_table(self, resource_group): + response = self.client.express_route_circuits.begin_list_arp_table( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_routes_table(self, resource_group): + response = self.client.express_route_circuits.begin_list_routes_table( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_routes_table_summary(self, resource_group): + response = self.client.express_route_circuits.begin_list_routes_table_summary( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_stats(self, resource_group): + response = self.client.express_route_circuits.get_stats( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_peering_stats(self, resource_group): + response = self.client.express_route_circuits.get_peering_stats( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_circuits.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.express_route_circuits.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuits_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuits_operations_async.py new file mode 100644 index 000000000000..b07afb22fa9c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_circuits_operations_async.py @@ -0,0 +1,291 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCircuitsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_circuits.begin_delete( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_circuits.get( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_circuits.begin_create_or_update( + resource_group_name=resource_group.name, + circuit_name="str", + parameters={ + "allowClassicOperations": bool, + "authorizationKey": "str", + "authorizationStatus": "str", + "authorizations": [ + { + "authorizationKey": "str", + "authorizationUseStatus": "str", + "connectionResourceUri": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "bandwidthInGbps": 0.0, + "circuitProvisioningState": "str", + "enableDirectPortRateLimit": bool, + "etag": "str", + "expressRoutePort": {"id": "str"}, + "gatewayManagerEtag": "str", + "globalReachEnabled": bool, + "id": "str", + "location": "str", + "name": "str", + "peerings": [ + { + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": { + "addressPrefix": "str", + "circuitConnectionStatus": "str", + }, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": { + "primarybytesIn": 0, + "primarybytesOut": 0, + "secondarybytesIn": 0, + "secondarybytesOut": 0, + }, + "type": "str", + "vlanId": 0, + } + ], + "provisioningState": "str", + "serviceKey": "str", + "serviceProviderNotes": "str", + "serviceProviderProperties": { + "bandwidthInMbps": 0, + "peeringLocation": "str", + "serviceProviderName": "str", + }, + "serviceProviderProvisioningState": "str", + "sku": {"family": "str", "name": "str", "tier": "str"}, + "stag": 0, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.express_route_circuits.update_tags( + resource_group_name=resource_group.name, + circuit_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_arp_table(self, resource_group): + response = await ( + await self.client.express_route_circuits.begin_list_arp_table( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_routes_table(self, resource_group): + response = await ( + await self.client.express_route_circuits.begin_list_routes_table( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_routes_table_summary(self, resource_group): + response = await ( + await self.client.express_route_circuits.begin_list_routes_table_summary( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_stats(self, resource_group): + response = await self.client.express_route_circuits.get_stats( + resource_group_name=resource_group.name, + circuit_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_peering_stats(self, resource_group): + response = await self.client.express_route_circuits.get_peering_stats( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_circuits.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.express_route_circuits.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_connections_operations.py new file mode 100644 index 000000000000..5926ca9903b3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_connections_operations.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_connections.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + connection_name="str", + put_express_route_connection_parameters={ + "name": "str", + "authorizationKey": "str", + "enableInternetSecurity": bool, + "enablePrivateLinkFastPath": bool, + "expressRouteCircuitPeering": {"id": "str"}, + "expressRouteGatewayBypass": bool, + "id": "str", + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": {"propagateStaticRoutes": bool, "vnetLocalRouteOverrideCriteria": "str"}, + }, + }, + "routingWeight": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_connections.get( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_connections.begin_delete( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_connections.list( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_connections_operations_async.py new file mode 100644 index 000000000000..70c7b0932ddf --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_connections_operations_async.py @@ -0,0 +1,100 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_connections.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + connection_name="str", + put_express_route_connection_parameters={ + "name": "str", + "authorizationKey": "str", + "enableInternetSecurity": bool, + "enablePrivateLinkFastPath": bool, + "expressRouteCircuitPeering": {"id": "str"}, + "expressRouteGatewayBypass": bool, + "id": "str", + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "routingWeight": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_connections.get( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_connections.begin_delete( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.express_route_connections.list( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connection_peerings_operations.py new file mode 100644 index 000000000000..956a485cdf27 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connection_peerings_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCrossConnectionPeeringsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_cross_connection_peerings.list( + resource_group_name=resource_group.name, + cross_connection_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_cross_connection_peerings.begin_delete( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_cross_connection_peerings.get( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_cross_connection_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + peering_parameters={ + "azureASN": 0, + "etag": "str", + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "vlanId": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connection_peerings_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connection_peerings_operations_async.py new file mode 100644 index 000000000000..067b96cff977 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connection_peerings_operations_async.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCrossConnectionPeeringsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_cross_connection_peerings.list( + resource_group_name=resource_group.name, + cross_connection_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_cross_connection_peerings.begin_delete( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_cross_connection_peerings.get( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_cross_connection_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + peering_parameters={ + "azureASN": 0, + "etag": "str", + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "vlanId": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connections_operations.py new file mode 100644 index 000000000000..700d51c9ddae --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connections_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCrossConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_cross_connections.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.express_route_cross_connections.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_cross_connections.get( + resource_group_name=resource_group.name, + cross_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_cross_connections.begin_create_or_update( + resource_group_name=resource_group.name, + cross_connection_name="str", + parameters={ + "bandwidthInMbps": 0, + "etag": "str", + "expressRouteCircuit": {"id": "str"}, + "id": "str", + "location": "str", + "name": "str", + "peeringLocation": "str", + "peerings": [ + { + "azureASN": 0, + "etag": "str", + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "vlanId": 0, + } + ], + "primaryAzurePort": "str", + "provisioningState": "str", + "sTag": 0, + "secondaryAzurePort": "str", + "serviceProviderNotes": "str", + "serviceProviderProvisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.express_route_cross_connections.update_tags( + resource_group_name=resource_group.name, + cross_connection_name="str", + cross_connection_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_arp_table(self, resource_group): + response = self.client.express_route_cross_connections.begin_list_arp_table( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_routes_table_summary(self, resource_group): + response = self.client.express_route_cross_connections.begin_list_routes_table_summary( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_routes_table(self, resource_group): + response = self.client.express_route_cross_connections.begin_list_routes_table( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connections_operations_async.py new file mode 100644 index 000000000000..d0ff5d7041e4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_cross_connections_operations_async.py @@ -0,0 +1,187 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteCrossConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_cross_connections.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.express_route_cross_connections.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_cross_connections.get( + resource_group_name=resource_group.name, + cross_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_cross_connections.begin_create_or_update( + resource_group_name=resource_group.name, + cross_connection_name="str", + parameters={ + "bandwidthInMbps": 0, + "etag": "str", + "expressRouteCircuit": {"id": "str"}, + "id": "str", + "location": "str", + "name": "str", + "peeringLocation": "str", + "peerings": [ + { + "azureASN": 0, + "etag": "str", + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "vlanId": 0, + } + ], + "primaryAzurePort": "str", + "provisioningState": "str", + "sTag": 0, + "secondaryAzurePort": "str", + "serviceProviderNotes": "str", + "serviceProviderProvisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.express_route_cross_connections.update_tags( + resource_group_name=resource_group.name, + cross_connection_name="str", + cross_connection_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_arp_table(self, resource_group): + response = await ( + await self.client.express_route_cross_connections.begin_list_arp_table( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_routes_table_summary(self, resource_group): + response = await ( + await self.client.express_route_cross_connections.begin_list_routes_table_summary( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_routes_table(self, resource_group): + response = await ( + await self.client.express_route_cross_connections.begin_list_routes_table( + resource_group_name=resource_group.name, + cross_connection_name="str", + peering_name="str", + device_path="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_gateways_operations.py new file mode 100644 index 000000000000..75a6df99477a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_gateways_operations.py @@ -0,0 +1,130 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_subscription(self, resource_group): + response = self.client.express_route_gateways.list_by_subscription( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.express_route_gateways.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + put_express_route_gateway_parameters={ + "allowNonVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "etag": "str", + "expressRouteConnections": [ + { + "name": "str", + "authorizationKey": "str", + "enableInternetSecurity": bool, + "enablePrivateLinkFastPath": bool, + "expressRouteCircuitPeering": {"id": "str"}, + "expressRouteGatewayBypass": bool, + "id": "str", + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "routingWeight": 0, + } + ], + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.express_route_gateways.begin_update_tags( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + express_route_gateway_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_gateways.get( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_gateways.begin_delete( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_gateways_operations_async.py new file mode 100644 index 000000000000..5098514f9300 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_gateways_operations_async.py @@ -0,0 +1,137 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_subscription(self, resource_group): + response = await self.client.express_route_gateways.list_by_subscription( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = await self.client.express_route_gateways.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + put_express_route_gateway_parameters={ + "allowNonVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "etag": "str", + "expressRouteConnections": [ + { + "name": "str", + "authorizationKey": "str", + "enableInternetSecurity": bool, + "enablePrivateLinkFastPath": bool, + "expressRouteCircuitPeering": {"id": "str"}, + "expressRouteGatewayBypass": bool, + "id": "str", + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "routingWeight": 0, + } + ], + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.express_route_gateways.begin_update_tags( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + express_route_gateway_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_gateways.get( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_gateways.begin_delete( + resource_group_name=resource_group.name, + express_route_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_links_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_links_operations.py new file mode 100644 index 000000000000..ee71638e153c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_links_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteLinksOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_links.get( + resource_group_name=resource_group.name, + express_route_port_name="str", + link_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_links.list( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_links_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_links_operations_async.py new file mode 100644 index 000000000000..947f902290e1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_links_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteLinksOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_links.get( + resource_group_name=resource_group.name, + express_route_port_name="str", + link_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_links.list( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_port_authorizations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_port_authorizations_operations.py new file mode 100644 index 000000000000..762dba785b51 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_port_authorizations_operations.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRoutePortAuthorizationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_port_authorizations.begin_delete( + resource_group_name=resource_group.name, + express_route_port_name="str", + authorization_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_port_authorizations.get( + resource_group_name=resource_group.name, + express_route_port_name="str", + authorization_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_port_authorizations.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_port_name="str", + authorization_name="str", + authorization_parameters={ + "authorizationKey": "str", + "authorizationUseStatus": "str", + "circuitResourceUri": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_port_authorizations.list( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_port_authorizations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_port_authorizations_operations_async.py new file mode 100644 index 000000000000..4cf8bcf604c5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_port_authorizations_operations_async.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRoutePortAuthorizationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_port_authorizations.begin_delete( + resource_group_name=resource_group.name, + express_route_port_name="str", + authorization_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_port_authorizations.get( + resource_group_name=resource_group.name, + express_route_port_name="str", + authorization_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_port_authorizations.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_port_name="str", + authorization_name="str", + authorization_parameters={ + "authorizationKey": "str", + "authorizationUseStatus": "str", + "circuitResourceUri": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_port_authorizations.list( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_locations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_locations_operations.py new file mode 100644 index 000000000000..397c83aa02ab --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_locations_operations.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRoutePortsLocationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_ports_locations.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_ports_locations.get( + location_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_locations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_locations_operations_async.py new file mode 100644 index 000000000000..bb86cdc86433 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_locations_operations_async.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRoutePortsLocationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_ports_locations.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_ports_locations.get( + location_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_operations.py new file mode 100644 index 000000000000..779e1d450cfd --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_operations.py @@ -0,0 +1,148 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRoutePortsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.express_route_ports.begin_delete( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.express_route_ports.get( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.express_route_ports.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_port_name="str", + parameters={ + "allocationDate": "str", + "bandwidthInGbps": 0, + "billingType": "str", + "circuits": [{"id": "str"}], + "encapsulation": "str", + "etag": "str", + "etherType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "links": [ + { + "adminState": "str", + "coloLocation": "str", + "connectorType": "str", + "etag": "str", + "id": "str", + "interfaceName": "str", + "macSecConfig": { + "cakSecretIdentifier": "str", + "cipher": "str", + "cknSecretIdentifier": "str", + "sciState": "str", + }, + "name": "str", + "patchPanelId": "str", + "provisioningState": "str", + "rackId": "str", + "routerName": "str", + } + ], + "location": "str", + "mtu": "str", + "name": "str", + "peeringLocation": "str", + "provisionedBandwidthInGbps": 0.0, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.express_route_ports.update_tags( + resource_group_name=resource_group.name, + express_route_port_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.express_route_ports.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_ports.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_generate_loa(self, resource_group): + response = self.client.express_route_ports.generate_loa( + resource_group_name=resource_group.name, + express_route_port_name="str", + request={"customerName": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_operations_async.py new file mode 100644 index 000000000000..8f5d96c5930c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_ports_operations_async.py @@ -0,0 +1,153 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRoutePortsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.express_route_ports.begin_delete( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.express_route_ports.get( + resource_group_name=resource_group.name, + express_route_port_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.express_route_ports.begin_create_or_update( + resource_group_name=resource_group.name, + express_route_port_name="str", + parameters={ + "allocationDate": "str", + "bandwidthInGbps": 0, + "billingType": "str", + "circuits": [{"id": "str"}], + "encapsulation": "str", + "etag": "str", + "etherType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "links": [ + { + "adminState": "str", + "coloLocation": "str", + "connectorType": "str", + "etag": "str", + "id": "str", + "interfaceName": "str", + "macSecConfig": { + "cakSecretIdentifier": "str", + "cipher": "str", + "cknSecretIdentifier": "str", + "sciState": "str", + }, + "name": "str", + "patchPanelId": "str", + "provisioningState": "str", + "rackId": "str", + "routerName": "str", + } + ], + "location": "str", + "mtu": "str", + "name": "str", + "peeringLocation": "str", + "provisionedBandwidthInGbps": 0.0, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.express_route_ports.update_tags( + resource_group_name=resource_group.name, + express_route_port_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.express_route_ports.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_ports.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_generate_loa(self, resource_group): + response = await self.client.express_route_ports.generate_loa( + resource_group_name=resource_group.name, + express_route_port_name="str", + request={"customerName": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_provider_ports_location_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_provider_ports_location_operations.py new file mode 100644 index 000000000000..9a79236dc790 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_provider_ports_location_operations.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteProviderPortsLocationOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_provider_ports_location.list( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_provider_ports_location_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_provider_ports_location_operations_async.py new file mode 100644 index 000000000000..fdbe192a62af --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_provider_ports_location_operations_async.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteProviderPortsLocationOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.express_route_provider_ports_location.list( + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_service_providers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_service_providers_operations.py new file mode 100644 index 000000000000..07ec0c1b8656 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_service_providers_operations.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteServiceProvidersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.express_route_service_providers.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_service_providers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_service_providers_operations_async.py new file mode 100644 index 000000000000..980f114cf8a3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_express_route_service_providers_operations_async.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementExpressRouteServiceProvidersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.express_route_service_providers.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policies_operations.py new file mode 100644 index 000000000000..755e2674dc47 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policies_operations.py @@ -0,0 +1,152 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPoliciesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.firewall_policies.begin_delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.firewall_policies.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.firewall_policies.begin_create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={ + "basePolicy": {"id": "str"}, + "childPolicies": [{"id": "str"}], + "dnsSettings": {"enableProxy": bool, "requireProxyForNetworkRules": bool, "servers": ["str"]}, + "etag": "str", + "explicitProxy": { + "enableExplicitProxy": bool, + "enablePacFile": bool, + "httpPort": 0, + "httpsPort": 0, + "pacFile": "str", + "pacFilePort": 0, + }, + "firewalls": [{"id": "str"}], + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "insights": { + "isEnabled": bool, + "logAnalyticsResources": { + "defaultWorkspaceId": {"id": "str"}, + "workspaces": [{"region": "str", "workspaceId": {"id": "str"}}], + }, + "retentionDays": 0, + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationIpGroups": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocol": "str", + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + } + ], + "privateRanges": ["str"], + "signatureOverrides": [{"id": "str", "mode": "str"}], + }, + "mode": "str", + "profile": "str", + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "ruleCollectionGroups": [{"id": "str"}], + "size": "str", + "sku": {"tier": "str"}, + "snat": {"autoLearnPrivateRanges": "str", "privateRanges": ["str"]}, + "sql": {"allowSqlRedirect": bool}, + "tags": {"str": "str"}, + "threatIntelMode": "str", + "threatIntelWhitelist": {"fqdns": ["str"], "ipAddresses": ["str"]}, + "transportSecurity": {"certificateAuthority": {"keyVaultSecretId": "str", "name": "str"}}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.firewall_policies.update_tags( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.firewall_policies.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.firewall_policies.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policies_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policies_operations_async.py new file mode 100644 index 000000000000..0ef2ebfce8c3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policies_operations_async.py @@ -0,0 +1,157 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPoliciesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.firewall_policies.begin_delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.firewall_policies.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.firewall_policies.begin_create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={ + "basePolicy": {"id": "str"}, + "childPolicies": [{"id": "str"}], + "dnsSettings": {"enableProxy": bool, "requireProxyForNetworkRules": bool, "servers": ["str"]}, + "etag": "str", + "explicitProxy": { + "enableExplicitProxy": bool, + "enablePacFile": bool, + "httpPort": 0, + "httpsPort": 0, + "pacFile": "str", + "pacFilePort": 0, + }, + "firewalls": [{"id": "str"}], + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "insights": { + "isEnabled": bool, + "logAnalyticsResources": { + "defaultWorkspaceId": {"id": "str"}, + "workspaces": [{"region": "str", "workspaceId": {"id": "str"}}], + }, + "retentionDays": 0, + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationIpGroups": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocol": "str", + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + } + ], + "privateRanges": ["str"], + "signatureOverrides": [{"id": "str", "mode": "str"}], + }, + "mode": "str", + "profile": "str", + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "ruleCollectionGroups": [{"id": "str"}], + "size": "str", + "sku": {"tier": "str"}, + "snat": {"autoLearnPrivateRanges": "str", "privateRanges": ["str"]}, + "sql": {"allowSqlRedirect": bool}, + "tags": {"str": "str"}, + "threatIntelMode": "str", + "threatIntelWhitelist": {"fqdns": ["str"], "ipAddresses": ["str"]}, + "transportSecurity": {"certificateAuthority": {"keyVaultSecretId": "str", "name": "str"}}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.firewall_policies.update_tags( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.firewall_policies.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.firewall_policies.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_deployments_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_deployments_operations.py new file mode 100644 index 000000000000..b743bf41a954 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_deployments_operations.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyDeploymentsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_deploy(self, resource_group): + response = self.client.firewall_policy_deployments.begin_deploy( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_deployments_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_deployments_operations_async.py new file mode 100644 index 000000000000..1a9b048ec928 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_deployments_operations_async.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyDeploymentsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_deploy(self, resource_group): + response = await ( + await self.client.firewall_policy_deployments.begin_deploy( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_drafts_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_drafts_operations.py new file mode 100644 index 000000000000..f0045f0c7f17 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_drafts_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyDraftsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.firewall_policy_drafts.create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={ + "basePolicy": {"id": "str"}, + "dnsSettings": {"enableProxy": bool, "requireProxyForNetworkRules": bool, "servers": ["str"]}, + "explicitProxy": { + "enableExplicitProxy": bool, + "enablePacFile": bool, + "httpPort": 0, + "httpsPort": 0, + "pacFile": "str", + "pacFilePort": 0, + }, + "id": "str", + "insights": { + "isEnabled": bool, + "logAnalyticsResources": { + "defaultWorkspaceId": {"id": "str"}, + "workspaces": [{"region": "str", "workspaceId": {"id": "str"}}], + }, + "retentionDays": 0, + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationIpGroups": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocol": "str", + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + } + ], + "privateRanges": ["str"], + "signatureOverrides": [{"id": "str", "mode": "str"}], + }, + "mode": "str", + "profile": "str", + }, + "location": "str", + "name": "str", + "snat": {"autoLearnPrivateRanges": "str", "privateRanges": ["str"]}, + "sql": {"allowSqlRedirect": bool}, + "tags": {"str": "str"}, + "threatIntelMode": "str", + "threatIntelWhitelist": {"fqdns": ["str"], "ipAddresses": ["str"]}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_delete(self, resource_group): + response = self.client.firewall_policy_drafts.delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.firewall_policy_drafts.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_drafts_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_drafts_operations_async.py new file mode 100644 index 000000000000..bdeeebd1e658 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_drafts_operations_async.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyDraftsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.firewall_policy_drafts.create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={ + "basePolicy": {"id": "str"}, + "dnsSettings": {"enableProxy": bool, "requireProxyForNetworkRules": bool, "servers": ["str"]}, + "explicitProxy": { + "enableExplicitProxy": bool, + "enablePacFile": bool, + "httpPort": 0, + "httpsPort": 0, + "pacFile": "str", + "pacFilePort": 0, + }, + "id": "str", + "insights": { + "isEnabled": bool, + "logAnalyticsResources": { + "defaultWorkspaceId": {"id": "str"}, + "workspaces": [{"region": "str", "workspaceId": {"id": "str"}}], + }, + "retentionDays": 0, + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "description": "str", + "destinationAddresses": ["str"], + "destinationIpGroups": ["str"], + "destinationPorts": ["str"], + "name": "str", + "protocol": "str", + "sourceAddresses": ["str"], + "sourceIpGroups": ["str"], + } + ], + "privateRanges": ["str"], + "signatureOverrides": [{"id": "str", "mode": "str"}], + }, + "mode": "str", + "profile": "str", + }, + "location": "str", + "name": "str", + "snat": {"autoLearnPrivateRanges": "str", "privateRanges": ["str"]}, + "sql": {"allowSqlRedirect": bool}, + "tags": {"str": "str"}, + "threatIntelMode": "str", + "threatIntelWhitelist": {"fqdns": ["str"], "ipAddresses": ["str"]}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_delete(self, resource_group): + response = await self.client.firewall_policy_drafts.delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.firewall_policy_drafts.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_filter_values_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_filter_values_operations.py new file mode 100644 index 000000000000..dc5d7297896a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_filter_values_operations.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyIdpsSignaturesFilterValuesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.firewall_policy_idps_signatures_filter_values.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"filterName": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_filter_values_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_filter_values_operations_async.py new file mode 100644 index 000000000000..eaebf690a11f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_filter_values_operations_async.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyIdpsSignaturesFilterValuesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.firewall_policy_idps_signatures_filter_values.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"filterName": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_operations.py new file mode 100644 index 000000000000..6e36abd770d9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_operations.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyIdpsSignaturesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.firewall_policy_idps_signatures.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={ + "filters": [{"field": "str", "values": ["str"]}], + "orderBy": {"field": "str", "order": "str"}, + "resultsPerPage": 0, + "search": "str", + "skip": 0, + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_operations_async.py new file mode 100644 index 000000000000..02c94ffbc79b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_operations_async.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyIdpsSignaturesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.firewall_policy_idps_signatures.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={ + "filters": [{"field": "str", "values": ["str"]}], + "orderBy": {"field": "str", "order": "str"}, + "resultsPerPage": 0, + "search": "str", + "skip": 0, + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_overrides_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_overrides_operations.py new file mode 100644 index 000000000000..ad506e6c1b78 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_overrides_operations.py @@ -0,0 +1,69 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyIdpsSignaturesOverridesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_patch(self, resource_group): + response = self.client.firewall_policy_idps_signatures_overrides.patch( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"id": "str", "name": "str", "properties": {"signatures": {"str": "str"}}, "type": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_put(self, resource_group): + response = self.client.firewall_policy_idps_signatures_overrides.put( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"id": "str", "name": "str", "properties": {"signatures": {"str": "str"}}, "type": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.firewall_policy_idps_signatures_overrides.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.firewall_policy_idps_signatures_overrides.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_overrides_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_overrides_operations_async.py new file mode 100644 index 000000000000..5f00442dedd0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_idps_signatures_overrides_operations_async.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyIdpsSignaturesOverridesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_patch(self, resource_group): + response = await self.client.firewall_policy_idps_signatures_overrides.patch( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"id": "str", "name": "str", "properties": {"signatures": {"str": "str"}}, "type": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_put(self, resource_group): + response = await self.client.firewall_policy_idps_signatures_overrides.put( + resource_group_name=resource_group.name, + firewall_policy_name="str", + parameters={"id": "str", "name": "str", "properties": {"signatures": {"str": "str"}}, "type": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.firewall_policy_idps_signatures_overrides.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.firewall_policy_idps_signatures_overrides.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_group_drafts_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_group_drafts_operations.py new file mode 100644 index 000000000000..3a7b86cc7457 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_group_drafts_operations.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyRuleCollectionGroupDraftsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_delete(self, resource_group): + response = self.client.firewall_policy_rule_collection_group_drafts.delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.firewall_policy_rule_collection_group_drafts.create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + parameters={ + "id": "str", + "name": "str", + "priority": 0, + "ruleCollections": ["firewall_policy_rule_collection"], + "size": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.firewall_policy_rule_collection_group_drafts.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_group_drafts_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_group_drafts_operations_async.py new file mode 100644 index 000000000000..90f3816907fe --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_group_drafts_operations_async.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyRuleCollectionGroupDraftsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_delete(self, resource_group): + response = await self.client.firewall_policy_rule_collection_group_drafts.delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.firewall_policy_rule_collection_group_drafts.create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + parameters={ + "id": "str", + "name": "str", + "priority": 0, + "ruleCollections": ["firewall_policy_rule_collection"], + "size": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.firewall_policy_rule_collection_group_drafts.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_groups_operations.py new file mode 100644 index 000000000000..67478735c7f1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_groups_operations.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyRuleCollectionGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.firewall_policy_rule_collection_groups.begin_delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.firewall_policy_rule_collection_groups.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.firewall_policy_rule_collection_groups.begin_create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "ruleCollections": ["firewall_policy_rule_collection"], + "size": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.firewall_policy_rule_collection_groups.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_groups_operations_async.py new file mode 100644 index 000000000000..9704a1ad529a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_firewall_policy_rule_collection_groups_operations_async.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFirewallPolicyRuleCollectionGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.firewall_policy_rule_collection_groups.begin_delete( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.firewall_policy_rule_collection_groups.get( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.firewall_policy_rule_collection_groups.begin_create_or_update( + resource_group_name=resource_group.name, + firewall_policy_name="str", + rule_collection_group_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "ruleCollections": ["firewall_policy_rule_collection"], + "size": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.firewall_policy_rule_collection_groups.list( + resource_group_name=resource_group.name, + firewall_policy_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_flow_logs_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_flow_logs_operations.py new file mode 100644 index 000000000000..3d248e49ae08 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_flow_logs_operations.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFlowLogsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.flow_logs.begin_create_or_update( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + parameters={ + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.flow_logs.update_tags( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.flow_logs.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.flow_logs.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.flow_logs.list( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_flow_logs_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_flow_logs_operations_async.py new file mode 100644 index 000000000000..2f30c77981e0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_flow_logs_operations_async.py @@ -0,0 +1,120 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementFlowLogsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.flow_logs.begin_create_or_update( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + parameters={ + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.flow_logs.update_tags( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.flow_logs.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.flow_logs.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + flow_log_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.flow_logs.list( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_route_tables_operations.py new file mode 100644 index 000000000000..bb4200bb7d6b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_route_tables_operations.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementHubRouteTablesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.hub_route_tables.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + route_table_parameters={ + "associatedConnections": ["str"], + "etag": "str", + "id": "str", + "labels": ["str"], + "name": "str", + "propagatingConnections": ["str"], + "provisioningState": "str", + "routes": [ + { + "destinationType": "str", + "destinations": ["str"], + "name": "str", + "nextHop": "str", + "nextHopType": "str", + } + ], + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.hub_route_tables.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.hub_route_tables.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.hub_route_tables.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_route_tables_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_route_tables_operations_async.py new file mode 100644 index 000000000000..e7ea0979ba7d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_route_tables_operations_async.py @@ -0,0 +1,94 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementHubRouteTablesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.hub_route_tables.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + route_table_parameters={ + "associatedConnections": ["str"], + "etag": "str", + "id": "str", + "labels": ["str"], + "name": "str", + "propagatingConnections": ["str"], + "provisioningState": "str", + "routes": [ + { + "destinationType": "str", + "destinations": ["str"], + "name": "str", + "nextHop": "str", + "nextHopType": "str", + } + ], + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.hub_route_tables.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.hub_route_tables.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.hub_route_tables.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_virtual_network_connections_operations.py new file mode 100644 index 000000000000..224e36de26db --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_virtual_network_connections_operations.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementHubVirtualNetworkConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.hub_virtual_network_connections.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + hub_virtual_network_connection_parameters={ + "allowHubToRemoteVnetTransit": bool, + "allowRemoteVnetToUseHubVnetGateways": bool, + "enableInternetSecurity": bool, + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "remoteVirtualNetwork": {"id": "str"}, + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": {"propagateStaticRoutes": bool, "vnetLocalRouteOverrideCriteria": "str"}, + }, + }, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.hub_virtual_network_connections.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.hub_virtual_network_connections.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.hub_virtual_network_connections.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_virtual_network_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_virtual_network_connections_operations_async.py new file mode 100644 index 000000000000..000a5296bbdc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_hub_virtual_network_connections_operations_async.py @@ -0,0 +1,99 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementHubVirtualNetworkConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.hub_virtual_network_connections.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + hub_virtual_network_connection_parameters={ + "allowHubToRemoteVnetTransit": bool, + "allowRemoteVnetToUseHubVnetGateways": bool, + "enableInternetSecurity": bool, + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "remoteVirtualNetwork": {"id": "str"}, + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.hub_virtual_network_connections.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.hub_virtual_network_connections.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.hub_virtual_network_connections.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_nat_rules_operations.py new file mode 100644 index 000000000000..da64244291e3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_nat_rules_operations.py @@ -0,0 +1,4129 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementInboundNatRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.inbound_nat_rules.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.inbound_nat_rules.begin_delete( + resource_group_name=resource_group.name, + load_balancer_name="str", + inbound_nat_rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.inbound_nat_rules.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + inbound_nat_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.inbound_nat_rules.begin_create_or_update( + resource_group_name=resource_group.name, + load_balancer_name="str", + inbound_nat_rule_name="str", + inbound_nat_rule_parameters={ + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [...], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + }, + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_nat_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_nat_rules_operations_async.py new file mode 100644 index 000000000000..7f58a34b98bc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_nat_rules_operations_async.py @@ -0,0 +1,4139 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementInboundNatRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.inbound_nat_rules.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.inbound_nat_rules.begin_delete( + resource_group_name=resource_group.name, + load_balancer_name="str", + inbound_nat_rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.inbound_nat_rules.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + inbound_nat_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.inbound_nat_rules.begin_create_or_update( + resource_group_name=resource_group.name, + load_balancer_name="str", + inbound_nat_rule_name="str", + inbound_nat_rule_parameters={ + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [...], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + }, + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_security_rule_operations.py new file mode 100644 index 000000000000..77cc861e4fa1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_security_rule_operations.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementInboundSecurityRuleOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.inbound_security_rule.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + rule_collection_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "ruleType": "str", + "rules": [ + { + "appliesOn": ["str"], + "destinationPortRange": 0, + "destinationPortRanges": ["str"], + "name": "str", + "protocol": "str", + "sourceAddressPrefix": "str", + } + ], + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.inbound_security_rule.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_security_rule_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_security_rule_operations_async.py new file mode 100644 index 000000000000..ff297adecb32 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_inbound_security_rule_operations_async.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementInboundSecurityRuleOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.inbound_security_rule.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + rule_collection_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "ruleType": "str", + "rules": [ + { + "appliesOn": ["str"], + "destinationPortRange": 0, + "destinationPortRanges": ["str"], + "name": "str", + "protocol": "str", + "sourceAddressPrefix": "str", + } + ], + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.inbound_security_rule.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_allocations_operations.py new file mode 100644 index 000000000000..51a18e0a1745 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_allocations_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementIpAllocationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.ip_allocations.begin_delete( + resource_group_name=resource_group.name, + ip_allocation_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.ip_allocations.get( + resource_group_name=resource_group.name, + ip_allocation_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.ip_allocations.begin_create_or_update( + resource_group_name=resource_group.name, + ip_allocation_name="str", + parameters={ + "allocationTags": {"str": "str"}, + "etag": "str", + "id": "str", + "ipamAllocationId": "str", + "location": "str", + "name": "str", + "prefix": "str", + "prefixLength": 0, + "prefixType": "str", + "subnet": {"id": "str"}, + "tags": {"str": "str"}, + "type": "str", + "virtualNetwork": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.ip_allocations.update_tags( + resource_group_name=resource_group.name, + ip_allocation_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.ip_allocations.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.ip_allocations.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_allocations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_allocations_operations_async.py new file mode 100644 index 000000000000..9c866896331f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_allocations_operations_async.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementIpAllocationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.ip_allocations.begin_delete( + resource_group_name=resource_group.name, + ip_allocation_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.ip_allocations.get( + resource_group_name=resource_group.name, + ip_allocation_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.ip_allocations.begin_create_or_update( + resource_group_name=resource_group.name, + ip_allocation_name="str", + parameters={ + "allocationTags": {"str": "str"}, + "etag": "str", + "id": "str", + "ipamAllocationId": "str", + "location": "str", + "name": "str", + "prefix": "str", + "prefixLength": 0, + "prefixType": "str", + "subnet": {"id": "str"}, + "tags": {"str": "str"}, + "type": "str", + "virtualNetwork": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.ip_allocations.update_tags( + resource_group_name=resource_group.name, + ip_allocation_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.ip_allocations.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.ip_allocations.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_groups_operations.py new file mode 100644 index 000000000000..4f46b450ce93 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_groups_operations.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementIpGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.ip_groups.get( + resource_group_name=resource_group.name, + ip_groups_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.ip_groups.begin_create_or_update( + resource_group_name=resource_group.name, + ip_groups_name="str", + parameters={ + "etag": "str", + "firewallPolicies": [{"id": "str"}], + "firewalls": [{"id": "str"}], + "id": "str", + "ipAddresses": ["str"], + "location": "str", + "name": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_groups(self, resource_group): + response = self.client.ip_groups.update_groups( + resource_group_name=resource_group.name, + ip_groups_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.ip_groups.begin_delete( + resource_group_name=resource_group.name, + ip_groups_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.ip_groups.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.ip_groups.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_groups_operations_async.py new file mode 100644 index 000000000000..68cdb94fda27 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_ip_groups_operations_async.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementIpGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.ip_groups.get( + resource_group_name=resource_group.name, + ip_groups_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.ip_groups.begin_create_or_update( + resource_group_name=resource_group.name, + ip_groups_name="str", + parameters={ + "etag": "str", + "firewallPolicies": [{"id": "str"}], + "firewalls": [{"id": "str"}], + "id": "str", + "ipAddresses": ["str"], + "location": "str", + "name": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_groups(self, resource_group): + response = await self.client.ip_groups.update_groups( + resource_group_name=resource_group.name, + ip_groups_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.ip_groups.begin_delete( + resource_group_name=resource_group.name, + ip_groups_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.ip_groups.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.ip_groups.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_backend_address_pools_operations.py new file mode 100644 index 000000000000..77f9e0bc092f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_backend_address_pools_operations.py @@ -0,0 +1,4136 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerBackendAddressPoolsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancer_backend_address_pools.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.load_balancer_backend_address_pools.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + backend_address_pool_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.load_balancer_backend_address_pools.begin_create_or_update( + resource_group_name=resource_group.name, + load_balancer_name="str", + backend_address_pool_name="str", + parameters={ + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [...], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.load_balancer_backend_address_pools.begin_delete( + resource_group_name=resource_group.name, + load_balancer_name="str", + backend_address_pool_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_backend_address_pools_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_backend_address_pools_operations_async.py new file mode 100644 index 000000000000..8649b74525da --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_backend_address_pools_operations_async.py @@ -0,0 +1,4168 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerBackendAddressPoolsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancer_backend_address_pools.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.load_balancer_backend_address_pools.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + backend_address_pool_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.load_balancer_backend_address_pools.begin_create_or_update( + resource_group_name=resource_group.name, + load_balancer_name="str", + backend_address_pool_name="str", + parameters={ + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [...], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.load_balancer_backend_address_pools.begin_delete( + resource_group_name=resource_group.name, + load_balancer_name="str", + backend_address_pool_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_frontend_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_frontend_ip_configurations_operations.py new file mode 100644 index 000000000000..ab8d9c8e651c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_frontend_ip_configurations_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerFrontendIPConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancer_frontend_ip_configurations.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.load_balancer_frontend_ip_configurations.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + frontend_ip_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_frontend_ip_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_frontend_ip_configurations_operations_async.py new file mode 100644 index 000000000000..0089aad918f2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_frontend_ip_configurations_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerFrontendIPConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancer_frontend_ip_configurations.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.load_balancer_frontend_ip_configurations.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + frontend_ip_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_load_balancing_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_load_balancing_rules_operations.py new file mode 100644 index 000000000000..2a9b564b2db5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_load_balancing_rules_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerLoadBalancingRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancer_load_balancing_rules.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.load_balancer_load_balancing_rules.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + load_balancing_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_load_balancing_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_load_balancing_rules_operations_async.py new file mode 100644 index 000000000000..a1c20a67918d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_load_balancing_rules_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerLoadBalancingRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancer_load_balancing_rules.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.load_balancer_load_balancing_rules.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + load_balancing_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_network_interfaces_operations.py new file mode 100644 index 000000000000..61b903f16aa0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_network_interfaces_operations.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerNetworkInterfacesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancer_network_interfaces.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_network_interfaces_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_network_interfaces_operations_async.py new file mode 100644 index 000000000000..c0d07812e344 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_network_interfaces_operations_async.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerNetworkInterfacesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancer_network_interfaces.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_outbound_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_outbound_rules_operations.py new file mode 100644 index 000000000000..de607ed205bc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_outbound_rules_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerOutboundRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancer_outbound_rules.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.load_balancer_outbound_rules.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + outbound_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_outbound_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_outbound_rules_operations_async.py new file mode 100644 index 000000000000..21cc225dd547 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_outbound_rules_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerOutboundRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancer_outbound_rules.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.load_balancer_outbound_rules.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + outbound_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_probes_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_probes_operations.py new file mode 100644 index 000000000000..441022722cda --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_probes_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerProbesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancer_probes.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.load_balancer_probes.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + probe_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_probes_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_probes_operations_async.py new file mode 100644 index 000000000000..c2404acf2f25 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancer_probes_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancerProbesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancer_probes.list( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.load_balancer_probes.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + probe_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancers_operations.py new file mode 100644 index 000000000000..142f3ad917ca --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancers_operations.py @@ -0,0 +1,11470 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.load_balancers.begin_delete( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.load_balancers.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.load_balancers.begin_create_or_update( + resource_group_name=resource_group.name, + load_balancer_name="str", + parameters={ + "backendAddressPools": [ + { + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [...], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "frontendIPConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "id": "str", + "inboundNatPools": [ + { + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "inboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [...], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + }, + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "loadBalancingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendAddressPools": [{"id": "str"}], + "backendPort": 0, + "disableOutboundSnat": bool, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "loadDistribution": "str", + "name": "str", + "probe": {"id": "str"}, + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "location": "str", + "name": "str", + "outboundRules": [ + { + "allocatedOutboundPorts": 0, + "backendAddressPool": {"id": "str"}, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfigurations": [{"id": "str"}], + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "probes": [ + { + "etag": "str", + "id": "str", + "intervalInSeconds": 0, + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "noHealthyBackendsBehavior": "str", + "numberOfProbes": 0, + "port": 0, + "probeThreshold": 0, + "protocol": "str", + "provisioningState": "str", + "requestPath": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.load_balancers.update_tags( + resource_group_name=resource_group.name, + load_balancer_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.load_balancers.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.load_balancers.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_swap_public_ip_addresses(self, resource_group): + response = self.client.load_balancers.begin_swap_public_ip_addresses( + location="str", + parameters={"frontendIPConfigurations": [{"id": "str", "publicIPAddress": {"id": "str"}}]}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_inbound_nat_rule_port_mappings(self, resource_group): + response = self.client.load_balancers.begin_list_inbound_nat_rule_port_mappings( + group_name="str", + load_balancer_name="str", + backend_pool_name="str", + parameters={"ipAddress": "str", "ipConfiguration": {"id": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_migrate_to_ip_based(self, resource_group): + response = self.client.load_balancers.migrate_to_ip_based( + group_name="str", + load_balancer_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancers_operations_async.py new file mode 100644 index 000000000000..51315a44b2e0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_load_balancers_operations_async.py @@ -0,0 +1,11566 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLoadBalancersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.load_balancers.begin_delete( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.load_balancers.get( + resource_group_name=resource_group.name, + load_balancer_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.load_balancers.begin_create_or_update( + resource_group_name=resource_group.name, + load_balancer_name="str", + parameters={ + "backendAddressPools": [ + { + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [...], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": { + "subscriptions": ["str"] + }, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": { + "subscriptions": ["str"] + }, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "frontendIPConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": { + "id": "str" + }, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "id": "str", + "inboundNatPools": [ + { + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "inboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [...], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + }, + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "loadBalancingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendAddressPools": [{"id": "str"}], + "backendPort": 0, + "disableOutboundSnat": bool, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "loadDistribution": "str", + "name": "str", + "probe": {"id": "str"}, + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "location": "str", + "name": "str", + "outboundRules": [ + { + "allocatedOutboundPorts": 0, + "backendAddressPool": {"id": "str"}, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfigurations": [{"id": "str"}], + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "probes": [ + { + "etag": "str", + "id": "str", + "intervalInSeconds": 0, + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "noHealthyBackendsBehavior": "str", + "numberOfProbes": 0, + "port": 0, + "probeThreshold": 0, + "protocol": "str", + "provisioningState": "str", + "requestPath": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.load_balancers.update_tags( + resource_group_name=resource_group.name, + load_balancer_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.load_balancers.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.load_balancers.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_swap_public_ip_addresses(self, resource_group): + response = await ( + await self.client.load_balancers.begin_swap_public_ip_addresses( + location="str", + parameters={"frontendIPConfigurations": [{"id": "str", "publicIPAddress": {"id": "str"}}]}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_inbound_nat_rule_port_mappings(self, resource_group): + response = await ( + await self.client.load_balancers.begin_list_inbound_nat_rule_port_mappings( + group_name="str", + load_balancer_name="str", + backend_pool_name="str", + parameters={"ipAddress": "str", "ipConfiguration": {"id": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_migrate_to_ip_based(self, resource_group): + response = await self.client.load_balancers.migrate_to_ip_based( + group_name="str", + load_balancer_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_local_network_gateways_operations.py new file mode 100644 index 000000000000..df21ea6f4ec3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_local_network_gateways_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLocalNetworkGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.local_network_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + parameters={ + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "etag": "str", + "fqdn": "str", + "gatewayIpAddress": "str", + "id": "str", + "localNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.local_network_gateways.get( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.local_network_gateways.begin_delete( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.local_network_gateways.update_tags( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.local_network_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_local_network_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_local_network_gateways_operations_async.py new file mode 100644 index 000000000000..b98b2879be21 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_local_network_gateways_operations_async.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementLocalNetworkGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.local_network_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + parameters={ + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "etag": "str", + "fqdn": "str", + "gatewayIpAddress": "str", + "id": "str", + "localNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.local_network_gateways.get( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.local_network_gateways.begin_delete( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.local_network_gateways.update_tags( + resource_group_name=resource_group.name, + local_network_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.local_network_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_management_group_network_manager_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_management_group_network_manager_connections_operations.py new file mode 100644 index 000000000000..525827e47a04 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_management_group_network_manager_connections_operations.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementManagementGroupNetworkManagerConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.management_group_network_manager_connections.create_or_update( + management_group_id="str", + network_manager_connection_name="str", + parameters={ + "connectionState": "str", + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "networkManagerId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.management_group_network_manager_connections.get( + management_group_id="str", + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_delete(self, resource_group): + response = self.client.management_group_network_manager_connections.delete( + management_group_id="str", + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.management_group_network_manager_connections.list( + management_group_id="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_management_group_network_manager_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_management_group_network_manager_connections_operations_async.py new file mode 100644 index 000000000000..febcb6105327 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_management_group_network_manager_connections_operations_async.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementManagementGroupNetworkManagerConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.management_group_network_manager_connections.create_or_update( + management_group_id="str", + network_manager_connection_name="str", + parameters={ + "connectionState": "str", + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "networkManagerId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.management_group_network_manager_connections.get( + management_group_id="str", + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_delete(self, resource_group): + response = await self.client.management_group_network_manager_connections.delete( + management_group_id="str", + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.management_group_network_manager_connections.list( + management_group_id="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_gateways_operations.py new file mode 100644 index 000000000000..4f36799e25ca --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_gateways_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNatGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.nat_gateways.begin_delete( + resource_group_name=resource_group.name, + nat_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.nat_gateways.get( + resource_group_name=resource_group.name, + nat_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.nat_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + nat_gateway_name="str", + parameters={ + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.nat_gateways.update_tags( + resource_group_name=resource_group.name, + nat_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.nat_gateways.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.nat_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_gateways_operations_async.py new file mode 100644 index 000000000000..91d80f2cb45e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_gateways_operations_async.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNatGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.nat_gateways.begin_delete( + resource_group_name=resource_group.name, + nat_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.nat_gateways.get( + resource_group_name=resource_group.name, + nat_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.nat_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + nat_gateway_name="str", + parameters={ + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.nat_gateways.update_tags( + resource_group_name=resource_group.name, + nat_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.nat_gateways.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.nat_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_rules_operations.py new file mode 100644 index 000000000000..c28cec33b87d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_rules_operations.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNatRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.nat_rules.get( + resource_group_name=resource_group.name, + gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.nat_rules.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + nat_rule_name="str", + nat_rule_parameters={ + "egressVpnSiteLinkConnections": [{"id": "str"}], + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "ingressVpnSiteLinkConnections": [{"id": "str"}], + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.nat_rules.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_vpn_gateway(self, resource_group): + response = self.client.nat_rules.list_by_vpn_gateway( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_rules_operations_async.py new file mode 100644 index 000000000000..1a0676f229e7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_nat_rules_operations_async.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNatRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.nat_rules.get( + resource_group_name=resource_group.name, + gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.nat_rules.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + nat_rule_name="str", + nat_rule_parameters={ + "egressVpnSiteLinkConnections": [{"id": "str"}], + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "ingressVpnSiteLinkConnections": [{"id": "str"}], + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.nat_rules.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_vpn_gateway(self, resource_group): + response = self.client.nat_rules.list_by_vpn_gateway( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_groups_operations.py new file mode 100644 index 000000000000..2a9d1ba50093 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_groups_operations.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_groups.get( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.network_groups.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + parameters={ + "description": "str", + "etag": "str", + "id": "str", + "memberType": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_groups.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_groups.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_groups_operations_async.py new file mode 100644 index 000000000000..fa000ce1841b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_groups_operations_async.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_groups.get( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.network_groups.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + parameters={ + "description": "str", + "etag": "str", + "id": "str", + "memberType": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_groups.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_groups.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_ip_configurations_operations.py new file mode 100644 index 000000000000..8d2c66b297ef --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_ip_configurations_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkInterfaceIPConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_interface_ip_configurations.list( + resource_group_name=resource_group.name, + network_interface_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_interface_ip_configurations.get( + resource_group_name=resource_group.name, + network_interface_name="str", + ip_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_ip_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_ip_configurations_operations_async.py new file mode 100644 index 000000000000..be31ebef5ed1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_ip_configurations_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkInterfaceIPConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_interface_ip_configurations.list( + resource_group_name=resource_group.name, + network_interface_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_interface_ip_configurations.get( + resource_group_name=resource_group.name, + network_interface_name="str", + ip_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_load_balancers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_load_balancers_operations.py new file mode 100644 index 000000000000..13f813a17074 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_load_balancers_operations.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkInterfaceLoadBalancersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_interface_load_balancers.list( + resource_group_name=resource_group.name, + network_interface_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_load_balancers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_load_balancers_operations_async.py new file mode 100644 index 000000000000..f9c413014b0f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_load_balancers_operations_async.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkInterfaceLoadBalancersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_interface_load_balancers.list( + resource_group_name=resource_group.name, + network_interface_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_tap_configurations_operations.py new file mode 100644 index 000000000000..a5a02a75dece --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_tap_configurations_operations.py @@ -0,0 +1,4367 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkInterfaceTapConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_interface_tap_configurations.begin_delete( + resource_group_name=resource_group.name, + network_interface_name="str", + tap_configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_interface_tap_configurations.get( + resource_group_name=resource_group.name, + network_interface_name="str", + tap_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.network_interface_tap_configurations.begin_create_or_update( + resource_group_name=resource_group.name, + network_interface_name="str", + tap_configuration_name="str", + tap_configuration_parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_interface_tap_configurations.list( + resource_group_name=resource_group.name, + network_interface_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_tap_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_tap_configurations_operations_async.py new file mode 100644 index 000000000000..10ceca1074b8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_interface_tap_configurations_operations_async.py @@ -0,0 +1,4396 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkInterfaceTapConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_interface_tap_configurations.begin_delete( + resource_group_name=resource_group.name, + network_interface_name="str", + tap_configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_interface_tap_configurations.get( + resource_group_name=resource_group.name, + network_interface_name="str", + tap_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.network_interface_tap_configurations.begin_create_or_update( + resource_group_name=resource_group.name, + network_interface_name="str", + tap_configuration_name="str", + tap_configuration_parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [...], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_interface_tap_configurations.list( + resource_group_name=resource_group.name, + network_interface_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_commits_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_commits_operations.py new file mode 100644 index 000000000000..2998117bc00f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_commits_operations.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagerCommitsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_post(self, resource_group): + response = self.client.network_manager_commits.begin_post( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={ + "commitType": "str", + "targetLocations": ["str"], + "commitId": "str", + "configurationIds": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_commits_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_commits_operations_async.py new file mode 100644 index 000000000000..cbff471fa760 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_commits_operations_async.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagerCommitsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_post(self, resource_group): + response = await ( + await self.client.network_manager_commits.begin_post( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={ + "commitType": "str", + "targetLocations": ["str"], + "commitId": "str", + "configurationIds": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_deployment_status_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_deployment_status_operations.py new file mode 100644 index 000000000000..54389829398e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_deployment_status_operations.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagerDeploymentStatusOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_manager_deployment_status.list( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"deploymentTypes": ["str"], "regions": ["str"], "skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_deployment_status_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_deployment_status_operations_async.py new file mode 100644 index 000000000000..556364501953 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_deployment_status_operations_async.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagerDeploymentStatusOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.network_manager_deployment_status.list( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"deploymentTypes": ["str"], "regions": ["str"], "skipToken": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_routing_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_routing_configurations_operations.py new file mode 100644 index 000000000000..b9b02e8e3011 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_routing_configurations_operations.py @@ -0,0 +1,87 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagerRoutingConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_manager_routing_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_manager_routing_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.network_manager_routing_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + routing_configuration={ + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_manager_routing_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_routing_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_routing_configurations_operations_async.py new file mode 100644 index 000000000000..4599df4b95f2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_manager_routing_configurations_operations_async.py @@ -0,0 +1,90 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagerRoutingConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_manager_routing_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_manager_routing_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.network_manager_routing_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + routing_configuration={ + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_manager_routing_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_managers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_managers_operations.py new file mode 100644 index 000000000000..481134cd035e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_managers_operations.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_managers.get( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.network_managers.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={ + "description": "str", + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkManagerScopeAccesses": ["str"], + "networkManagerScopes": { + "crossTenantScopes": [{"managementGroups": ["str"], "subscriptions": ["str"], "tenantId": "str"}], + "managementGroups": ["str"], + "subscriptions": ["str"], + }, + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_managers.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_patch(self, resource_group): + response = self.client.network_managers.patch( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_subscription(self, resource_group): + response = self.client.network_managers.list_by_subscription( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_managers.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_managers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_managers_operations_async.py new file mode 100644 index 000000000000..34c61a6d46e4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_managers_operations_async.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkManagersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_managers.get( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.network_managers.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={ + "description": "str", + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkManagerScopeAccesses": ["str"], + "networkManagerScopes": { + "crossTenantScopes": [{"managementGroups": ["str"], "subscriptions": ["str"], "tenantId": "str"}], + "managementGroups": ["str"], + "subscriptions": ["str"], + }, + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_managers.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_patch(self, resource_group): + response = await self.client.network_managers.patch( + resource_group_name=resource_group.name, + network_manager_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_subscription(self, resource_group): + response = self.client.network_managers.list_by_subscription( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_managers.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_profiles_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_profiles_operations.py new file mode 100644 index 000000000000..0fe17a89ac74 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_profiles_operations.py @@ -0,0 +1,4370 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkProfilesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_profiles.begin_delete( + resource_group_name=resource_group.name, + network_profile_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_profiles.get( + resource_group_name=resource_group.name, + network_profile_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.network_profiles.create_or_update( + resource_group_name=resource_group.name, + network_profile_name="str", + parameters={ + "containerNetworkInterfaceConfigurations": [ + { + "containerNetworkInterfaces": [{"id": "str"}], + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [...], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "containerNetworkInterfaces": [ + { + "container": {"id": "str"}, + "containerNetworkInterfaceConfiguration": { + "containerNetworkInterfaces": [{"id": "str"}], + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [...], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [ + {"id": "str"} + ], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": { + "id": "str" + }, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + }, + "etag": "str", + "id": "str", + "ipConfigurations": [{"etag": "str", "name": "str", "provisioningState": "str", "type": "str"}], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.network_profiles.update_tags( + resource_group_name=resource_group.name, + network_profile_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.network_profiles.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_profiles.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_profiles_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_profiles_operations_async.py new file mode 100644 index 000000000000..e65f999ceef2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_profiles_operations_async.py @@ -0,0 +1,4373 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkProfilesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_profiles.begin_delete( + resource_group_name=resource_group.name, + network_profile_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_profiles.get( + resource_group_name=resource_group.name, + network_profile_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.network_profiles.create_or_update( + resource_group_name=resource_group.name, + network_profile_name="str", + parameters={ + "containerNetworkInterfaceConfigurations": [ + { + "containerNetworkInterfaces": [{"id": "str"}], + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [...], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "containerNetworkInterfaces": [ + { + "container": {"id": "str"}, + "containerNetworkInterfaceConfiguration": { + "containerNetworkInterfaces": [{"id": "str"}], + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [...], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [ + {"id": "str"} + ], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": { + "id": "str" + }, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + }, + "etag": "str", + "id": "str", + "ipConfigurations": [{"etag": "str", "name": "str", "provisioningState": "str", "type": "str"}], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.network_profiles.update_tags( + resource_group_name=resource_group.name, + network_profile_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.network_profiles.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_profiles.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_security_groups_operations.py new file mode 100644 index 000000000000..bf369995508f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_security_groups_operations.py @@ -0,0 +1,5012 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkSecurityGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_security_groups.begin_delete( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_security_groups.get( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.network_security_groups.begin_create_or_update( + resource_group_name=resource_group.name, + network_security_group_name="str", + parameters={ + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.network_security_groups.update_tags( + resource_group_name=resource_group.name, + network_security_group_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.network_security_groups.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_security_groups.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_security_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_security_groups_operations_async.py new file mode 100644 index 000000000000..7acea4b2d10b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_security_groups_operations_async.py @@ -0,0 +1,5030 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkSecurityGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_security_groups.begin_delete( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_security_groups.get( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.network_security_groups.begin_create_or_update( + resource_group_name=resource_group.name, + network_security_group_name="str", + parameters={ + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.network_security_groups.update_tags( + resource_group_name=resource_group.name, + network_security_group_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.network_security_groups.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_security_groups.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliance_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliance_connections_operations.py new file mode 100644 index 000000000000..28679678f8e2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliance_connections_operations.py @@ -0,0 +1,90 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkVirtualApplianceConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.network_virtual_appliance_connections.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + connection_name="str", + network_virtual_appliance_connection_parameters={ + "asn": 0, + "bgpPeerAddress": ["str"], + "enableInternetSecurity": bool, + "id": "str", + "name": "str", + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": {"propagateStaticRoutes": bool, "vnetLocalRouteOverrideCriteria": "str"}, + }, + }, + "tunnelIdentifier": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_virtual_appliance_connections.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_virtual_appliance_connections.begin_delete( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_virtual_appliance_connections.list( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliance_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliance_connections_operations_async.py new file mode 100644 index 000000000000..6844f7544a30 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliance_connections_operations_async.py @@ -0,0 +1,98 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkVirtualApplianceConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.network_virtual_appliance_connections.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + connection_name="str", + network_virtual_appliance_connection_parameters={ + "asn": 0, + "bgpPeerAddress": ["str"], + "enableInternetSecurity": bool, + "id": "str", + "name": "str", + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "tunnelIdentifier": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_virtual_appliance_connections.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_virtual_appliance_connections.begin_delete( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_virtual_appliance_connections.list( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliances_operations.py new file mode 100644 index 000000000000..00942003d29a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliances_operations.py @@ -0,0 +1,153 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkVirtualAppliancesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_virtual_appliances.begin_delete( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_virtual_appliances.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.network_virtual_appliances.update_tags( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.network_virtual_appliances.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + parameters={ + "additionalNics": [{"hasPublicIp": bool, "name": "str"}], + "addressPrefix": "str", + "bootStrapConfigurationBlobs": ["str"], + "cloudInitConfiguration": "str", + "cloudInitConfigurationBlobs": ["str"], + "delegation": {"provisioningState": "str", "serviceName": "str"}, + "deploymentType": "str", + "etag": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundSecurityRules": [{"id": "str"}], + "internetIngressPublicIps": [{"id": "str"}], + "location": "str", + "name": "str", + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "properties": {"ipConfigurations": [{"name": "str", "properties": {"primary": bool}}]}, + "type": "str", + } + ] + }, + "nvaSku": {"bundledScaleUnit": "str", "marketPlaceVersion": "str", "vendor": "str"}, + "partnerManagedResource": { + "id": "str", + "internalLoadBalancerId": "str", + "standardLoadBalancerId": "str", + }, + "provisioningState": "str", + "sshPublicKey": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualApplianceAsn": 0, + "virtualApplianceConnections": [{"id": "str"}], + "virtualApplianceNics": [ + { + "instanceName": "str", + "name": "str", + "nicType": "str", + "privateIpAddress": "str", + "publicIpAddress": "str", + } + ], + "virtualApplianceSites": [{"id": "str"}], + "virtualHub": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_restart(self, resource_group): + response = self.client.network_virtual_appliances.begin_restart( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.network_virtual_appliances.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_virtual_appliances.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliances_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliances_operations_async.py new file mode 100644 index 000000000000..49241c92e23d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_virtual_appliances_operations_async.py @@ -0,0 +1,160 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkVirtualAppliancesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_virtual_appliances.begin_delete( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_virtual_appliances.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.network_virtual_appliances.update_tags( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.network_virtual_appliances.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + parameters={ + "additionalNics": [{"hasPublicIp": bool, "name": "str"}], + "addressPrefix": "str", + "bootStrapConfigurationBlobs": ["str"], + "cloudInitConfiguration": "str", + "cloudInitConfigurationBlobs": ["str"], + "delegation": {"provisioningState": "str", "serviceName": "str"}, + "deploymentType": "str", + "etag": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundSecurityRules": [{"id": "str"}], + "internetIngressPublicIps": [{"id": "str"}], + "location": "str", + "name": "str", + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "properties": {"ipConfigurations": [{"name": "str", "properties": {"primary": bool}}]}, + "type": "str", + } + ] + }, + "nvaSku": {"bundledScaleUnit": "str", "marketPlaceVersion": "str", "vendor": "str"}, + "partnerManagedResource": { + "id": "str", + "internalLoadBalancerId": "str", + "standardLoadBalancerId": "str", + }, + "provisioningState": "str", + "sshPublicKey": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualApplianceAsn": 0, + "virtualApplianceConnections": [{"id": "str"}], + "virtualApplianceNics": [ + { + "instanceName": "str", + "name": "str", + "nicType": "str", + "privateIpAddress": "str", + "publicIpAddress": "str", + } + ], + "virtualApplianceSites": [{"id": "str"}], + "virtualHub": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_restart(self, resource_group): + response = await ( + await self.client.network_virtual_appliances.begin_restart( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.network_virtual_appliances.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_virtual_appliances.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_watchers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_watchers_operations.py new file mode 100644 index 000000000000..a6d163e0b414 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_watchers_operations.py @@ -0,0 +1,324 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkWatchersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.network_watchers.create_or_update( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.network_watchers.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.network_watchers.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.network_watchers.update_tags( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.network_watchers.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.network_watchers.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_topology(self, resource_group): + response = self.client.network_watchers.get_topology( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "targetResourceGroupName": "str", + "targetSubnet": {"id": "str"}, + "targetVirtualNetwork": {"id": "str"}, + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_verify_ip_flow(self, resource_group): + response = self.client.network_watchers.begin_verify_ip_flow( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "direction": "str", + "localIPAddress": "str", + "localPort": "str", + "protocol": "str", + "remoteIPAddress": "str", + "remotePort": "str", + "targetResourceId": "str", + "targetNicResourceId": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_next_hop(self, resource_group): + response = self.client.network_watchers.begin_get_next_hop( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "destinationIPAddress": "str", + "sourceIPAddress": "str", + "targetResourceId": "str", + "targetNicResourceId": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_vm_security_rules(self, resource_group): + response = self.client.network_watchers.begin_get_vm_security_rules( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"targetResourceId": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_troubleshooting(self, resource_group): + response = self.client.network_watchers.begin_get_troubleshooting( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"storageId": "str", "storagePath": "str", "targetResourceId": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_troubleshooting_result(self, resource_group): + response = self.client.network_watchers.begin_get_troubleshooting_result( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"targetResourceId": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_set_flow_log_configuration(self, resource_group): + response = self.client.network_watchers.begin_set_flow_log_configuration( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "enabled": bool, + "storageId": "str", + "targetResourceId": "str", + "enabledFilteringCriteria": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "retentionPolicy": {"days": 0, "enabled": False}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_flow_log_status(self, resource_group): + response = self.client.network_watchers.begin_get_flow_log_status( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"targetResourceId": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_check_connectivity(self, resource_group): + response = self.client.network_watchers.begin_check_connectivity( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "destination": {"address": "str", "port": 0, "resourceId": "str"}, + "source": {"resourceId": "str", "port": 0}, + "preferredIPVersion": "str", + "protocol": "str", + "protocolConfiguration": { + "HTTPConfiguration": { + "headers": [{"name": "str", "value": "str"}], + "method": "str", + "validStatusCodes": [0], + } + }, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_azure_reachability_report(self, resource_group): + response = self.client.network_watchers.begin_get_azure_reachability_report( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "endTime": "2020-02-20 00:00:00", + "providerLocation": {"country": "str", "city": "str", "state": "str"}, + "startTime": "2020-02-20 00:00:00", + "azureLocations": ["str"], + "providers": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_available_providers(self, resource_group): + response = self.client.network_watchers.begin_list_available_providers( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"azureLocations": ["str"], "city": "str", "country": "str", "state": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_network_configuration_diagnostic(self, resource_group): + response = self.client.network_watchers.begin_get_network_configuration_diagnostic( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "profiles": [ + { + "destination": "str", + "destinationPort": "str", + "direction": "str", + "protocol": "str", + "source": "str", + } + ], + "targetResourceId": "str", + "verbosityLevel": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_watchers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_watchers_operations_async.py new file mode 100644 index 000000000000..d70011cfdaf1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_network_watchers_operations_async.py @@ -0,0 +1,349 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementNetworkWatchersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.network_watchers.create_or_update( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.network_watchers.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.network_watchers.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.network_watchers.update_tags( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.network_watchers.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.network_watchers.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_topology(self, resource_group): + response = await self.client.network_watchers.get_topology( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "targetResourceGroupName": "str", + "targetSubnet": {"id": "str"}, + "targetVirtualNetwork": {"id": "str"}, + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_verify_ip_flow(self, resource_group): + response = await ( + await self.client.network_watchers.begin_verify_ip_flow( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "direction": "str", + "localIPAddress": "str", + "localPort": "str", + "protocol": "str", + "remoteIPAddress": "str", + "remotePort": "str", + "targetResourceId": "str", + "targetNicResourceId": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_next_hop(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_next_hop( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "destinationIPAddress": "str", + "sourceIPAddress": "str", + "targetResourceId": "str", + "targetNicResourceId": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_vm_security_rules(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_vm_security_rules( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"targetResourceId": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_troubleshooting(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_troubleshooting( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"storageId": "str", "storagePath": "str", "targetResourceId": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_troubleshooting_result(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_troubleshooting_result( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"targetResourceId": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_set_flow_log_configuration(self, resource_group): + response = await ( + await self.client.network_watchers.begin_set_flow_log_configuration( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "enabled": bool, + "storageId": "str", + "targetResourceId": "str", + "enabledFilteringCriteria": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "retentionPolicy": {"days": 0, "enabled": False}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_flow_log_status(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_flow_log_status( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"targetResourceId": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_check_connectivity(self, resource_group): + response = await ( + await self.client.network_watchers.begin_check_connectivity( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "destination": {"address": "str", "port": 0, "resourceId": "str"}, + "source": {"resourceId": "str", "port": 0}, + "preferredIPVersion": "str", + "protocol": "str", + "protocolConfiguration": { + "HTTPConfiguration": { + "headers": [{"name": "str", "value": "str"}], + "method": "str", + "validStatusCodes": [0], + } + }, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_azure_reachability_report(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_azure_reachability_report( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "endTime": "2020-02-20 00:00:00", + "providerLocation": {"country": "str", "city": "str", "state": "str"}, + "startTime": "2020-02-20 00:00:00", + "azureLocations": ["str"], + "providers": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_available_providers(self, resource_group): + response = await ( + await self.client.network_watchers.begin_list_available_providers( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={"azureLocations": ["str"], "city": "str", "country": "str", "state": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_network_configuration_diagnostic(self, resource_group): + response = await ( + await self.client.network_watchers.begin_get_network_configuration_diagnostic( + resource_group_name=resource_group.name, + network_watcher_name="str", + parameters={ + "profiles": [ + { + "destination": "str", + "destinationPort": "str", + "direction": "str", + "protocol": "str", + "source": "str", + } + ], + "targetResourceId": "str", + "verbosityLevel": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_operations.py new file mode 100644 index 000000000000..54b88d1198ae --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_operations.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.operations.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_operations_async.py new file mode 100644 index 000000000000..01efbfcd886f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_operations_async.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.operations.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_p2_svpn_gateways_operations.py new file mode 100644 index 000000000000..99ee379d45e8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_p2_svpn_gateways_operations.py @@ -0,0 +1,212 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementP2SVpnGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.p2_svpn_gateways.get( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.p2_svpn_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + p2_s_vpn_gateway_parameters={ + "customDnsServers": ["str"], + "etag": "str", + "id": "str", + "isRoutingPreferenceInternet": bool, + "location": "str", + "name": "str", + "p2SConnectionConfigurations": [ + { + "configurationPolicyGroupAssociations": [{"id": "str"}], + "enableInternetSecurity": bool, + "etag": "str", + "id": "str", + "name": "str", + "previousConfigurationPolicyGroupAssociations": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": ["str"], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0, + }, + "vpnGatewayScaleUnit": 0, + "vpnServerConfiguration": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.p2_svpn_gateways.begin_update_tags( + resource_group_name=resource_group.name, + gateway_name="str", + p2_s_vpn_gateway_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.p2_svpn_gateways.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.p2_svpn_gateways.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.p2_svpn_gateways.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset(self, resource_group): + response = self.client.p2_svpn_gateways.begin_reset( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_generate_vpn_profile(self, resource_group): + response = self.client.p2_svpn_gateways.begin_generate_vpn_profile( + resource_group_name=resource_group.name, + gateway_name="str", + parameters={"authenticationMethod": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_p2_s_vpn_connection_health(self, resource_group): + response = self.client.p2_svpn_gateways.begin_get_p2_s_vpn_connection_health( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_p2_s_vpn_connection_health_detailed(self, resource_group): + response = self.client.p2_svpn_gateways.begin_get_p2_s_vpn_connection_health_detailed( + resource_group_name=resource_group.name, + gateway_name="str", + request={"outputBlobSasUrl": "str", "vpnUserNamesFilter": ["str"]}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_disconnect_p2_s_vpn_connections(self, resource_group): + response = self.client.p2_svpn_gateways.begin_disconnect_p2_s_vpn_connections( + resource_group_name=resource_group.name, + p2_s_vpn_gateway_name="str", + request={"vpnConnectionIds": ["str"]}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_p2_svpn_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_p2_svpn_gateways_operations_async.py new file mode 100644 index 000000000000..32c1d403fc1a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_p2_svpn_gateways_operations_async.py @@ -0,0 +1,229 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementP2SVpnGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.p2_svpn_gateways.get( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + p2_s_vpn_gateway_parameters={ + "customDnsServers": ["str"], + "etag": "str", + "id": "str", + "isRoutingPreferenceInternet": bool, + "location": "str", + "name": "str", + "p2SConnectionConfigurations": [ + { + "configurationPolicyGroupAssociations": [{"id": "str"}], + "enableInternetSecurity": bool, + "etag": "str", + "id": "str", + "name": "str", + "previousConfigurationPolicyGroupAssociations": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": ["str"], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0, + }, + "vpnGatewayScaleUnit": 0, + "vpnServerConfiguration": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_update_tags( + resource_group_name=resource_group.name, + gateway_name="str", + p2_s_vpn_gateway_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.p2_svpn_gateways.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.p2_svpn_gateways.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_reset( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_generate_vpn_profile(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_generate_vpn_profile( + resource_group_name=resource_group.name, + gateway_name="str", + parameters={"authenticationMethod": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_p2_s_vpn_connection_health(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_get_p2_s_vpn_connection_health( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_p2_s_vpn_connection_health_detailed(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_get_p2_s_vpn_connection_health_detailed( + resource_group_name=resource_group.name, + gateway_name="str", + request={"outputBlobSasUrl": "str", "vpnUserNamesFilter": ["str"]}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_disconnect_p2_s_vpn_connections(self, resource_group): + response = await ( + await self.client.p2_svpn_gateways.begin_disconnect_p2_s_vpn_connections( + resource_group_name=resource_group.name, + p2_s_vpn_gateway_name="str", + request={"vpnConnectionIds": ["str"]}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_packet_captures_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_packet_captures_operations.py new file mode 100644 index 000000000000..01ac8b752d71 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_packet_captures_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPacketCapturesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create(self, resource_group): + response = self.client.packet_captures.begin_create( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + parameters={ + "storageLocation": {"filePath": "str", "localPath": "str", "storageId": "str", "storagePath": "str"}, + "target": "str", + "bytesToCapturePerPacket": 0, + "captureSettings": {"fileCount": 10, "fileSizeInBytes": 104857600, "sessionTimeLimitInSeconds": 86400}, + "continuousCapture": bool, + "filters": [ + { + "localIPAddress": "str", + "localPort": "str", + "protocol": "Any", + "remoteIPAddress": "str", + "remotePort": "str", + } + ], + "scope": {"exclude": ["str"], "include": ["str"]}, + "targetType": "str", + "timeLimitInSeconds": 18000, + "totalBytesPerSession": 1073741824, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.packet_captures.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.packet_captures.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop(self, resource_group): + response = self.client.packet_captures.begin_stop( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_status(self, resource_group): + response = self.client.packet_captures.begin_get_status( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.packet_captures.list( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_packet_captures_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_packet_captures_operations_async.py new file mode 100644 index 000000000000..3611c4900cae --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_packet_captures_operations_async.py @@ -0,0 +1,134 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPacketCapturesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create(self, resource_group): + response = await ( + await self.client.packet_captures.begin_create( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + parameters={ + "storageLocation": { + "filePath": "str", + "localPath": "str", + "storageId": "str", + "storagePath": "str", + }, + "target": "str", + "bytesToCapturePerPacket": 0, + "captureSettings": { + "fileCount": 10, + "fileSizeInBytes": 104857600, + "sessionTimeLimitInSeconds": 86400, + }, + "continuousCapture": bool, + "filters": [ + { + "localIPAddress": "str", + "localPort": "str", + "protocol": "Any", + "remoteIPAddress": "str", + "remotePort": "str", + } + ], + "scope": {"exclude": ["str"], "include": ["str"]}, + "targetType": "str", + "timeLimitInSeconds": 18000, + "totalBytesPerSession": 1073741824, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.packet_captures.get( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.packet_captures.begin_delete( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop(self, resource_group): + response = await ( + await self.client.packet_captures.begin_stop( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_status(self, resource_group): + response = await ( + await self.client.packet_captures.begin_get_status( + resource_group_name=resource_group.name, + network_watcher_name="str", + packet_capture_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.packet_captures.list( + resource_group_name=resource_group.name, + network_watcher_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_peer_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_peer_express_route_circuit_connections_operations.py new file mode 100644 index 000000000000..dffbeb620bfc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_peer_express_route_circuit_connections_operations.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPeerExpressRouteCircuitConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.peer_express_route_circuit_connections.get( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.peer_express_route_circuit_connections.list( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_peer_express_route_circuit_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_peer_express_route_circuit_connections_operations_async.py new file mode 100644 index 000000000000..fd922a300e0d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_peer_express_route_circuit_connections_operations_async.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPeerExpressRouteCircuitConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.peer_express_route_circuit_connections.get( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.peer_express_route_circuit_connections.list( + resource_group_name=resource_group.name, + circuit_name="str", + peering_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_dns_zone_groups_operations.py new file mode 100644 index 000000000000..0204d6da0246 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_dns_zone_groups_operations.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPrivateDnsZoneGroupsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.private_dns_zone_groups.begin_delete( + resource_group_name=resource_group.name, + private_endpoint_name="str", + private_dns_zone_group_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.private_dns_zone_groups.get( + resource_group_name=resource_group.name, + private_endpoint_name="str", + private_dns_zone_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.private_dns_zone_groups.begin_create_or_update( + resource_group_name=resource_group.name, + private_endpoint_name="str", + private_dns_zone_group_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "privateDnsZoneConfigs": [ + { + "name": "str", + "privateDnsZoneId": "str", + "recordSets": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + "provisioningState": "str", + "recordSetName": "str", + "recordType": "str", + "ttl": 0, + } + ], + } + ], + "provisioningState": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.private_dns_zone_groups.list( + private_endpoint_name="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_dns_zone_groups_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_dns_zone_groups_operations_async.py new file mode 100644 index 000000000000..626d89896fbc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_dns_zone_groups_operations_async.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPrivateDnsZoneGroupsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.private_dns_zone_groups.begin_delete( + resource_group_name=resource_group.name, + private_endpoint_name="str", + private_dns_zone_group_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.private_dns_zone_groups.get( + resource_group_name=resource_group.name, + private_endpoint_name="str", + private_dns_zone_group_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.private_dns_zone_groups.begin_create_or_update( + resource_group_name=resource_group.name, + private_endpoint_name="str", + private_dns_zone_group_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "privateDnsZoneConfigs": [ + { + "name": "str", + "privateDnsZoneId": "str", + "recordSets": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + "provisioningState": "str", + "recordSetName": "str", + "recordType": "str", + "ttl": 0, + } + ], + } + ], + "provisioningState": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.private_dns_zone_groups.list( + private_endpoint_name="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_endpoints_operations.py new file mode 100644 index 000000000000..7ce58b9fe162 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_endpoints_operations.py @@ -0,0 +1,5536 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPrivateEndpointsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.private_endpoints.begin_delete( + resource_group_name=resource_group.name, + private_endpoint_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.private_endpoints.get( + resource_group_name=resource_group.name, + private_endpoint_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.private_endpoints.begin_create_or_update( + resource_group_name=resource_group.name, + private_endpoint_name="str", + parameters={ + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.private_endpoints.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_subscription(self, resource_group): + response = self.client.private_endpoints.list_by_subscription( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_endpoints_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_endpoints_operations_async.py new file mode 100644 index 000000000000..5d7f29c8d23d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_endpoints_operations_async.py @@ -0,0 +1,5561 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPrivateEndpointsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.private_endpoints.begin_delete( + resource_group_name=resource_group.name, + private_endpoint_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.private_endpoints.get( + resource_group_name=resource_group.name, + private_endpoint_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.private_endpoints.begin_create_or_update( + resource_group_name=resource_group.name, + private_endpoint_name="str", + parameters={ + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.private_endpoints.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_subscription(self, resource_group): + response = self.client.private_endpoints.list_by_subscription( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_link_services_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_link_services_operations.py new file mode 100644 index 000000000000..f4d98588f4c5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_link_services_operations.py @@ -0,0 +1,18845 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPrivateLinkServicesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.private_link_services.begin_delete( + resource_group_name=resource_group.name, + service_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.private_link_services.get( + resource_group_name=resource_group.name, + service_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.private_link_services.begin_create_or_update( + resource_group_name=resource_group.name, + service_name="str", + parameters={ + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.private_link_services.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_subscription(self, resource_group): + response = self.client.private_link_services.list_by_subscription( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_private_endpoint_connection(self, resource_group): + response = self.client.private_link_services.get_private_endpoint_connection( + resource_group_name=resource_group.name, + service_name="str", + pe_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_private_endpoint_connection(self, resource_group): + response = self.client.private_link_services.update_private_endpoint_connection( + resource_group_name=resource_group.name, + service_name="str", + pe_connection_name="str", + parameters={ + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [...], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [...], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": {"actionsRequired": "str", "description": "str", "status": "str"}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete_private_endpoint_connection(self, resource_group): + response = self.client.private_link_services.begin_delete_private_endpoint_connection( + resource_group_name=resource_group.name, + service_name="str", + pe_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_private_endpoint_connections(self, resource_group): + response = self.client.private_link_services.list_private_endpoint_connections( + resource_group_name=resource_group.name, + service_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_check_private_link_service_visibility(self, resource_group): + response = self.client.private_link_services.begin_check_private_link_service_visibility( + location="str", + parameters={"privateLinkServiceAlias": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_check_private_link_service_visibility_by_resource_group(self, resource_group): + response = self.client.private_link_services.begin_check_private_link_service_visibility_by_resource_group( + location="str", + resource_group_name=resource_group.name, + parameters={"privateLinkServiceAlias": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_auto_approved_private_link_services(self, resource_group): + response = self.client.private_link_services.list_auto_approved_private_link_services( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_auto_approved_private_link_services_by_resource_group(self, resource_group): + response = self.client.private_link_services.list_auto_approved_private_link_services_by_resource_group( + location="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_link_services_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_link_services_operations_async.py new file mode 100644 index 000000000000..7ca934908074 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_private_link_services_operations_async.py @@ -0,0 +1,18943 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPrivateLinkServicesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.private_link_services.begin_delete( + resource_group_name=resource_group.name, + service_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.private_link_services.get( + resource_group_name=resource_group.name, + service_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.private_link_services.begin_create_or_update( + resource_group_name=resource_group.name, + service_name="str", + parameters={ + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": { + "id": "str" + }, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": ..., + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": ..., + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.private_link_services.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_subscription(self, resource_group): + response = self.client.private_link_services.list_by_subscription( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_private_endpoint_connection(self, resource_group): + response = await self.client.private_link_services.get_private_endpoint_connection( + resource_group_name=resource_group.name, + service_name="str", + pe_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_private_endpoint_connection(self, resource_group): + response = await self.client.private_link_services.update_private_endpoint_connection( + resource_group_name=resource_group.name, + service_name="str", + pe_connection_name="str", + parameters={ + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [...], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [...], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": {"actionsRequired": "str", "description": "str", "status": "str"}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete_private_endpoint_connection(self, resource_group): + response = await ( + await self.client.private_link_services.begin_delete_private_endpoint_connection( + resource_group_name=resource_group.name, + service_name="str", + pe_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_private_endpoint_connections(self, resource_group): + response = self.client.private_link_services.list_private_endpoint_connections( + resource_group_name=resource_group.name, + service_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_check_private_link_service_visibility(self, resource_group): + response = await ( + await self.client.private_link_services.begin_check_private_link_service_visibility( + location="str", + parameters={"privateLinkServiceAlias": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_check_private_link_service_visibility_by_resource_group(self, resource_group): + response = await ( + await self.client.private_link_services.begin_check_private_link_service_visibility_by_resource_group( + location="str", + resource_group_name=resource_group.name, + parameters={"privateLinkServiceAlias": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_auto_approved_private_link_services(self, resource_group): + response = self.client.private_link_services.list_auto_approved_private_link_services( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_auto_approved_private_link_services_by_resource_group(self, resource_group): + response = self.client.private_link_services.list_auto_approved_private_link_services_by_resource_group( + location="str", + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_public_ip_prefixes_operations.py new file mode 100644 index 000000000000..6c07394ebe77 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_public_ip_prefixes_operations.py @@ -0,0 +1,125 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPublicIPPrefixesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.public_ip_prefixes.begin_delete( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.public_ip_prefixes.get( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.public_ip_prefixes.begin_create_or_update( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + parameters={ + "customIPPrefix": {"id": "str"}, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipPrefix": "str", + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "loadBalancerFrontendIpConfiguration": {"id": "str"}, + "location": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "prefixLength": 0, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAddresses": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.public_ip_prefixes.update_tags( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.public_ip_prefixes.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.public_ip_prefixes.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_public_ip_prefixes_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_public_ip_prefixes_operations_async.py new file mode 100644 index 000000000000..07188325c46e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_public_ip_prefixes_operations_async.py @@ -0,0 +1,130 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementPublicIPPrefixesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.public_ip_prefixes.begin_delete( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.public_ip_prefixes.get( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.public_ip_prefixes.begin_create_or_update( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + parameters={ + "customIPPrefix": {"id": "str"}, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipPrefix": "str", + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "loadBalancerFrontendIpConfiguration": {"id": "str"}, + "location": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "prefixLength": 0, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAddresses": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.public_ip_prefixes.update_tags( + resource_group_name=resource_group.name, + public_ip_prefix_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.public_ip_prefixes.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.public_ip_prefixes.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_resource_navigation_links_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_resource_navigation_links_operations.py new file mode 100644 index 000000000000..43d819f65375 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_resource_navigation_links_operations.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementResourceNavigationLinksOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.resource_navigation_links.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_resource_navigation_links_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_resource_navigation_links_operations_async.py new file mode 100644 index 000000000000..79879d797d5b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_resource_navigation_links_operations_async.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementResourceNavigationLinksOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.resource_navigation_links.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filter_rules_operations.py new file mode 100644 index 000000000000..a894d5687dca --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filter_rules_operations.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteFilterRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.route_filter_rules.begin_delete( + resource_group_name=resource_group.name, + route_filter_name="str", + rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.route_filter_rules.get( + resource_group_name=resource_group.name, + route_filter_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.route_filter_rules.begin_create_or_update( + resource_group_name=resource_group.name, + route_filter_name="str", + rule_name="str", + route_filter_rule_parameters={ + "access": "str", + "communities": ["str"], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "routeFilterRuleType": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_route_filter(self, resource_group): + response = self.client.route_filter_rules.list_by_route_filter( + resource_group_name=resource_group.name, + route_filter_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filter_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filter_rules_operations_async.py new file mode 100644 index 000000000000..0a0506ccc434 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filter_rules_operations_async.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteFilterRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.route_filter_rules.begin_delete( + resource_group_name=resource_group.name, + route_filter_name="str", + rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.route_filter_rules.get( + resource_group_name=resource_group.name, + route_filter_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.route_filter_rules.begin_create_or_update( + resource_group_name=resource_group.name, + route_filter_name="str", + rule_name="str", + route_filter_rule_parameters={ + "access": "str", + "communities": ["str"], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "routeFilterRuleType": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_route_filter(self, resource_group): + response = self.client.route_filter_rules.list_by_route_filter( + resource_group_name=resource_group.name, + route_filter_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filters_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filters_operations.py new file mode 100644 index 000000000000..10cc78e36eec --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filters_operations.py @@ -0,0 +1,278 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteFiltersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.route_filters.begin_delete( + resource_group_name=resource_group.name, + route_filter_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.route_filters.get( + resource_group_name=resource_group.name, + route_filter_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.route_filters.begin_create_or_update( + resource_group_name=resource_group.name, + route_filter_name="str", + route_filter_parameters={ + "etag": "str", + "id": "str", + "ipv6Peerings": [ + { + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": { + "addressPrefix": "str", + "circuitConnectionStatus": "str", + }, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": { + "primarybytesIn": 0, + "primarybytesOut": 0, + "secondarybytesIn": 0, + "secondarybytesOut": 0, + }, + "type": "str", + "vlanId": 0, + } + ], + "location": "str", + "name": "str", + "peerings": [ + { + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": { + "addressPrefix": "str", + "circuitConnectionStatus": "str", + }, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": { + "primarybytesIn": 0, + "primarybytesOut": 0, + "secondarybytesIn": 0, + "secondarybytesOut": 0, + }, + "type": "str", + "vlanId": 0, + } + ], + "provisioningState": "str", + "rules": [ + { + "access": "str", + "communities": ["str"], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "routeFilterRuleType": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.route_filters.update_tags( + resource_group_name=resource_group.name, + route_filter_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.route_filters.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.route_filters.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filters_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filters_operations_async.py new file mode 100644 index 000000000000..ade7f88c1bf5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_filters_operations_async.py @@ -0,0 +1,283 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteFiltersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.route_filters.begin_delete( + resource_group_name=resource_group.name, + route_filter_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.route_filters.get( + resource_group_name=resource_group.name, + route_filter_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.route_filters.begin_create_or_update( + resource_group_name=resource_group.name, + route_filter_name="str", + route_filter_parameters={ + "etag": "str", + "id": "str", + "ipv6Peerings": [ + { + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": { + "addressPrefix": "str", + "circuitConnectionStatus": "str", + }, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": { + "primarybytesIn": 0, + "primarybytesOut": 0, + "secondarybytesIn": 0, + "secondarybytesOut": 0, + }, + "type": "str", + "vlanId": 0, + } + ], + "location": "str", + "name": "str", + "peerings": [ + { + "azureASN": 0, + "connections": [ + { + "addressPrefix": "str", + "authorizationKey": "str", + "circuitConnectionStatus": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "ipv6CircuitConnectionConfig": { + "addressPrefix": "str", + "circuitConnectionStatus": "str", + }, + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "expressRouteConnection": {"id": "str"}, + "gatewayManagerEtag": "str", + "id": "str", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "primaryPeerAddressPrefix": "str", + "routeFilter": {"id": "str"}, + "secondaryPeerAddressPrefix": "str", + "state": "str", + }, + "lastModifiedBy": "str", + "microsoftPeeringConfig": { + "advertisedCommunities": ["str"], + "advertisedPublicPrefixes": ["str"], + "advertisedPublicPrefixesState": "str", + "customerASN": 0, + "legacyMode": 0, + "routingRegistryName": "str", + }, + "name": "str", + "peerASN": 0, + "peeredConnections": [ + { + "addressPrefix": "str", + "authResourceGuid": "str", + "circuitConnectionStatus": "str", + "connectionName": "str", + "etag": "str", + "expressRouteCircuitPeering": {"id": "str"}, + "id": "str", + "name": "str", + "peerExpressRouteCircuitPeering": {"id": "str"}, + "provisioningState": "str", + "type": "str", + } + ], + "peeringType": "str", + "primaryAzurePort": "str", + "primaryPeerAddressPrefix": "str", + "provisioningState": "str", + "routeFilter": {"id": "str"}, + "secondaryAzurePort": "str", + "secondaryPeerAddressPrefix": "str", + "sharedKey": "str", + "state": "str", + "stats": { + "primarybytesIn": 0, + "primarybytesOut": 0, + "secondarybytesIn": 0, + "secondarybytesOut": 0, + }, + "type": "str", + "vlanId": 0, + } + ], + "provisioningState": "str", + "rules": [ + { + "access": "str", + "communities": ["str"], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "routeFilterRuleType": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.route_filters.update_tags( + resource_group_name=resource_group.name, + route_filter_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.route_filters.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.route_filters.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_maps_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_maps_operations.py new file mode 100644 index 000000000000..adf790b4a80f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_maps_operations.py @@ -0,0 +1,94 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteMapsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.route_maps.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_map_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.route_maps.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_map_name="str", + route_map_parameters={ + "associatedInboundConnections": ["str"], + "associatedOutboundConnections": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "rules": [ + { + "actions": [ + { + "parameters": [{"asPath": ["str"], "community": ["str"], "routePrefix": ["str"]}], + "type": "str", + } + ], + "matchCriteria": [ + {"asPath": ["str"], "community": ["str"], "matchCondition": "str", "routePrefix": ["str"]} + ], + "name": "str", + "nextStepIfMatched": "str", + } + ], + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.route_maps.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_map_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.route_maps.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_maps_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_maps_operations_async.py new file mode 100644 index 000000000000..a23b1b59eb9e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_maps_operations_async.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteMapsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.route_maps.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_map_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.route_maps.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_map_name="str", + route_map_parameters={ + "associatedInboundConnections": ["str"], + "associatedOutboundConnections": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "rules": [ + { + "actions": [ + { + "parameters": [{"asPath": ["str"], "community": ["str"], "routePrefix": ["str"]}], + "type": "str", + } + ], + "matchCriteria": [ + { + "asPath": ["str"], + "community": ["str"], + "matchCondition": "str", + "routePrefix": ["str"], + } + ], + "name": "str", + "nextStepIfMatched": "str", + } + ], + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.route_maps.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_map_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.route_maps.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_tables_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_tables_operations.py new file mode 100644 index 000000000000..a41adebc7ba8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_tables_operations.py @@ -0,0 +1,2159 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteTablesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.route_tables.begin_delete( + resource_group_name=resource_group.name, + route_table_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.route_tables.get( + resource_group_name=resource_group.name, + route_table_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.route_tables.begin_create_or_update( + resource_group_name=resource_group.name, + route_table_name="str", + parameters={ + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": ..., + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.route_tables.update_tags( + resource_group_name=resource_group.name, + route_table_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.route_tables.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.route_tables.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_tables_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_tables_operations_async.py new file mode 100644 index 000000000000..15b6145bc39f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_route_tables_operations_async.py @@ -0,0 +1,2177 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRouteTablesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.route_tables.begin_delete( + resource_group_name=resource_group.name, + route_table_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.route_tables.get( + resource_group_name=resource_group.name, + route_table_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.route_tables.begin_create_or_update( + resource_group_name=resource_group.name, + route_table_name="str", + parameters={ + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": ..., + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.route_tables.update_tags( + resource_group_name=resource_group.name, + route_table_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.route_tables.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.route_tables.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routes_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routes_operations.py new file mode 100644 index 000000000000..e246a1f0ad77 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routes_operations.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.routes.begin_delete( + resource_group_name=resource_group.name, + route_table_name="str", + route_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.routes.get( + resource_group_name=resource_group.name, + route_table_name="str", + route_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.routes.begin_create_or_update( + resource_group_name=resource_group.name, + route_table_name="str", + route_name="str", + route_parameters={ + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.routes.list( + resource_group_name=resource_group.name, + route_table_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routes_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routes_operations_async.py new file mode 100644 index 000000000000..9bb8afa486e8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routes_operations_async.py @@ -0,0 +1,86 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.routes.begin_delete( + resource_group_name=resource_group.name, + route_table_name="str", + route_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.routes.get( + resource_group_name=resource_group.name, + route_table_name="str", + route_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.routes.begin_create_or_update( + resource_group_name=resource_group.name, + route_table_name="str", + route_name="str", + route_parameters={ + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.routes.list( + resource_group_name=resource_group.name, + route_table_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_intent_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_intent_operations.py new file mode 100644 index 000000000000..273846568e0d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_intent_operations.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutingIntentOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.routing_intent.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + routing_intent_name="str", + routing_intent_parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "routingPolicies": [{"destinations": ["str"], "name": "str", "nextHop": "str"}], + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.routing_intent.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + routing_intent_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.routing_intent.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + routing_intent_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.routing_intent.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_intent_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_intent_operations_async.py new file mode 100644 index 000000000000..d5df61a8b3d9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_intent_operations_async.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutingIntentOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.routing_intent.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + routing_intent_name="str", + routing_intent_parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "routingPolicies": [{"destinations": ["str"], "name": "str", "nextHop": "str"}], + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.routing_intent.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + routing_intent_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.routing_intent.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + routing_intent_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.routing_intent.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rule_collections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rule_collections_operations.py new file mode 100644 index 000000000000..8f6ead5337e8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rule_collections_operations.py @@ -0,0 +1,93 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutingRuleCollectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.routing_rule_collections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.routing_rule_collections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.routing_rule_collections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_collection={ + "appliesTo": [{"networkGroupId": "str"}], + "description": "str", + "disableBgpRoutePropagation": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.routing_rule_collections.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rule_collections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rule_collections_operations_async.py new file mode 100644 index 000000000000..91b7e3f0124e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rule_collections_operations_async.py @@ -0,0 +1,96 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutingRuleCollectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.routing_rule_collections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.routing_rule_collections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.routing_rule_collections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_collection={ + "appliesTo": [{"networkGroupId": "str"}], + "description": "str", + "disableBgpRoutePropagation": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.routing_rule_collections.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rules_operations.py new file mode 100644 index 000000000000..f45f1173a4d4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rules_operations.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutingRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.routing_rules.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.routing_rules.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.routing_rules.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + routing_rule={ + "description": "str", + "destination": {"destinationAddress": "str", "type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "nextHop": {"nextHopType": "str", "nextHopAddress": "str"}, + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.routing_rules.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rules_operations_async.py new file mode 100644 index 000000000000..13c73e0d4437 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_routing_rules_operations_async.py @@ -0,0 +1,100 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementRoutingRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.routing_rules.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.routing_rules.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.routing_rules.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + routing_rule={ + "description": "str", + "destination": {"destinationAddress": "str", "type": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "nextHop": {"nextHopType": "str", "nextHopAddress": "str"}, + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.routing_rules.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_scope_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_scope_connections_operations.py new file mode 100644 index 000000000000..2f787a1a0b6f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_scope_connections_operations.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementScopeConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.scope_connections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + scope_connection_name="str", + parameters={ + "connectionState": "str", + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "resourceId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "tenantId": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.scope_connections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + scope_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_delete(self, resource_group): + response = self.client.scope_connections.delete( + resource_group_name=resource_group.name, + network_manager_name="str", + scope_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.scope_connections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_scope_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_scope_connections_operations_async.py new file mode 100644 index 000000000000..7defea07fc77 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_scope_connections_operations_async.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementScopeConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.scope_connections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + scope_connection_name="str", + parameters={ + "connectionState": "str", + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "resourceId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "tenantId": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.scope_connections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + scope_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_delete(self, resource_group): + response = await self.client.scope_connections.delete( + resource_group_name=resource_group.name, + network_manager_name="str", + scope_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.scope_connections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_admin_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_admin_configurations_operations.py new file mode 100644 index 000000000000..ded53d6f4c97 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_admin_configurations_operations.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityAdminConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.security_admin_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.security_admin_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.security_admin_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + security_admin_configuration={ + "applyOnNetworkIntentPolicyBasedServices": ["str"], + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.security_admin_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_admin_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_admin_configurations_operations_async.py new file mode 100644 index 000000000000..e7f338e2cdec --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_admin_configurations_operations_async.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityAdminConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.security_admin_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.security_admin_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.security_admin_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + security_admin_configuration={ + "applyOnNetworkIntentPolicyBasedServices": ["str"], + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.security_admin_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_partner_providers_operations.py new file mode 100644 index 000000000000..133caf9e2d7c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_partner_providers_operations.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityPartnerProvidersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.security_partner_providers.begin_delete( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.security_partner_providers.get( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.security_partner_providers.begin_create_or_update( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + parameters={ + "connectionStatus": "str", + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "securityProviderName": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.security_partner_providers.update_tags( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.security_partner_providers.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.security_partner_providers.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_partner_providers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_partner_providers_operations_async.py new file mode 100644 index 000000000000..bb9734a3ce0d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_partner_providers_operations_async.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityPartnerProvidersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.security_partner_providers.begin_delete( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.security_partner_providers.get( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.security_partner_providers.begin_create_or_update( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + parameters={ + "connectionStatus": "str", + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "securityProviderName": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.security_partner_providers.update_tags( + resource_group_name=resource_group.name, + security_partner_provider_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.security_partner_providers.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.security_partner_providers.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_rules_operations.py new file mode 100644 index 000000000000..1724420c5329 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_rules_operations.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.security_rules.begin_delete( + resource_group_name=resource_group.name, + network_security_group_name="str", + security_rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.security_rules.get( + resource_group_name=resource_group.name, + network_security_group_name="str", + security_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.security_rules.begin_create_or_update( + resource_group_name=resource_group.name, + network_security_group_name="str", + security_rule_name="str", + security_rule_parameters={ + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.security_rules.list( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_rules_operations_async.py new file mode 100644 index 000000000000..5053b13b7642 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_rules_operations_async.py @@ -0,0 +1,119 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.security_rules.begin_delete( + resource_group_name=resource_group.name, + network_security_group_name="str", + security_rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.security_rules.get( + resource_group_name=resource_group.name, + network_security_group_name="str", + security_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.security_rules.begin_create_or_update( + resource_group_name=resource_group.name, + network_security_group_name="str", + security_rule_name="str", + security_rule_parameters={ + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.security_rules.list( + resource_group_name=resource_group.name, + network_security_group_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_configurations_operations.py new file mode 100644 index 000000000000..63950013629d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_configurations_operations.py @@ -0,0 +1,87 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityUserConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.security_user_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.security_user_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.security_user_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + security_user_configuration={ + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.security_user_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_configurations_operations_async.py new file mode 100644 index 000000000000..4c0694586a14 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_configurations_operations_async.py @@ -0,0 +1,90 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityUserConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.security_user_configurations.list( + resource_group_name=resource_group.name, + network_manager_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.security_user_configurations.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.security_user_configurations.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + security_user_configuration={ + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.security_user_configurations.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rule_collections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rule_collections_operations.py new file mode 100644 index 000000000000..8c331cc889bf --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rule_collections_operations.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityUserRuleCollectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.security_user_rule_collections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.security_user_rule_collections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.security_user_rule_collections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + security_user_rule_collection={ + "appliesToGroups": [{"networkGroupId": "str"}], + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.security_user_rule_collections.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rule_collections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rule_collections_operations_async.py new file mode 100644 index 000000000000..02b9cfdd1409 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rule_collections_operations_async.py @@ -0,0 +1,95 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityUserRuleCollectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.security_user_rule_collections.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.security_user_rule_collections.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.security_user_rule_collections.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + security_user_rule_collection={ + "appliesToGroups": [{"networkGroupId": "str"}], + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.security_user_rule_collections.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rules_operations.py new file mode 100644 index 000000000000..0d5b3bea9747 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rules_operations.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityUserRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.security_user_rules.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.security_user_rules.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.security_user_rules.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + security_user_rule={ + "description": "str", + "destinationPortRanges": ["str"], + "destinations": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "resourceGuid": "str", + "sourcePortRanges": ["str"], + "sources": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.security_user_rules.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rules_operations_async.py new file mode 100644 index 000000000000..5265143ac405 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_security_user_rules_operations_async.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSecurityUserRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.security_user_rules.list( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.security_user_rules.get( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.security_user_rules.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + security_user_rule={ + "description": "str", + "destinationPortRanges": ["str"], + "destinations": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "resourceGuid": "str", + "sourcePortRanges": ["str"], + "sources": [{"addressPrefix": "str", "addressPrefixType": "str"}], + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.security_user_rules.begin_delete( + resource_group_name=resource_group.name, + network_manager_name="str", + configuration_name="str", + rule_collection_name="str", + rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_association_links_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_association_links_operations.py new file mode 100644 index 000000000000..4919fa63b0af --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_association_links_operations.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceAssociationLinksOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.service_association_links.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_association_links_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_association_links_operations_async.py new file mode 100644 index 000000000000..3e72b9ac2eb8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_association_links_operations_async.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceAssociationLinksOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.service_association_links.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policies_operations.py new file mode 100644 index 000000000000..fcbf964027bc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policies_operations.py @@ -0,0 +1,2157 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceEndpointPoliciesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.service_endpoint_policies.begin_delete( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.service_endpoint_policies.get( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.service_endpoint_policies.begin_create_or_update( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + parameters={ + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [...], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.service_endpoint_policies.update_tags( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.service_endpoint_policies.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.service_endpoint_policies.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policies_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policies_operations_async.py new file mode 100644 index 000000000000..49b8a0edc5a3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policies_operations_async.py @@ -0,0 +1,2175 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceEndpointPoliciesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.service_endpoint_policies.begin_delete( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.service_endpoint_policies.get( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.service_endpoint_policies.begin_create_or_update( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + parameters={ + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [...], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.service_endpoint_policies.update_tags( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.service_endpoint_policies.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.service_endpoint_policies.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policy_definitions_operations.py new file mode 100644 index 000000000000..96fda716753f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policy_definitions_operations.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceEndpointPolicyDefinitionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.service_endpoint_policy_definitions.begin_delete( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + service_endpoint_policy_definition_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.service_endpoint_policy_definitions.get( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + service_endpoint_policy_definition_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.service_endpoint_policy_definitions.begin_create_or_update( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + service_endpoint_policy_definition_name="str", + service_endpoint_policy_definitions={ + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.service_endpoint_policy_definitions.list_by_resource_group( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policy_definitions_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policy_definitions_operations_async.py new file mode 100644 index 000000000000..7d3dd3440b03 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_endpoint_policy_definitions_operations_async.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceEndpointPolicyDefinitionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.service_endpoint_policy_definitions.begin_delete( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + service_endpoint_policy_definition_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.service_endpoint_policy_definitions.get( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + service_endpoint_policy_definition_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.service_endpoint_policy_definitions.begin_create_or_update( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + service_endpoint_policy_definition_name="str", + service_endpoint_policy_definitions={ + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.service_endpoint_policy_definitions.list_by_resource_group( + resource_group_name=resource_group.name, + service_endpoint_policy_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tag_information_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tag_information_operations.py new file mode 100644 index 000000000000..f167542caaf3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tag_information_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceTagInformationOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.service_tag_information.list( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tag_information_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tag_information_operations_async.py new file mode 100644 index 000000000000..e429048dec55 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tag_information_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceTagInformationOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.service_tag_information.list( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tags_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tags_operations.py new file mode 100644 index 000000000000..48432642a535 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tags_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceTagsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.service_tags.list( + location="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tags_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tags_operations_async.py new file mode 100644 index 000000000000..5287dc98150d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_service_tags_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementServiceTagsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.service_tags.list( + location="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_static_members_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_static_members_operations.py new file mode 100644 index 000000000000..83360da59879 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_static_members_operations.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementStaticMembersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.static_members.get( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + static_member_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.static_members.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + static_member_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "region": "str", + "resourceId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_delete(self, resource_group): + response = self.client.static_members.delete( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + static_member_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.static_members.list( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_static_members_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_static_members_operations_async.py new file mode 100644 index 000000000000..13df5a16eb93 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_static_members_operations_async.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementStaticMembersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.static_members.get( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + static_member_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.static_members.create_or_update( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + static_member_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "region": "str", + "resourceId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_delete(self, resource_group): + response = await self.client.static_members.delete( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + static_member_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.static_members.list( + resource_group_name=resource_group.name, + network_manager_name="str", + network_group_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subnets_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subnets_operations.py new file mode 100644 index 000000000000..7db31a78bbdb --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subnets_operations.py @@ -0,0 +1,2160 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSubnetsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.subnets.begin_delete( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.subnets.get( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.subnets.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + subnet_parameters={ + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_prepare_network_policies(self, resource_group): + response = self.client.subnets.begin_prepare_network_policies( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + prepare_network_policies_request_parameters={ + "networkIntentPolicyConfigurations": [ + { + "networkIntentPolicyName": "str", + "sourceNetworkIntentPolicy": { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "serviceName": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_unprepare_network_policies(self, resource_group): + response = self.client.subnets.begin_unprepare_network_policies( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + unprepare_network_policies_request_parameters={"serviceName": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.subnets.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subnets_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subnets_operations_async.py new file mode 100644 index 000000000000..c20bc43b4646 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subnets_operations_async.py @@ -0,0 +1,2179 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSubnetsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.subnets.begin_delete( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.subnets.get( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.subnets.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + subnet_parameters={ + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_prepare_network_policies(self, resource_group): + response = await ( + await self.client.subnets.begin_prepare_network_policies( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + prepare_network_policies_request_parameters={ + "networkIntentPolicyConfigurations": [ + { + "networkIntentPolicyName": "str", + "sourceNetworkIntentPolicy": { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "serviceName": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_unprepare_network_policies(self, resource_group): + response = await ( + await self.client.subnets.begin_unprepare_network_policies( + resource_group_name=resource_group.name, + virtual_network_name="str", + subnet_name="str", + unprepare_network_policies_request_parameters={"serviceName": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.subnets.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subscription_network_manager_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subscription_network_manager_connections_operations.py new file mode 100644 index 000000000000..8b595d48bf3e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subscription_network_manager_connections_operations.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSubscriptionNetworkManagerConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.subscription_network_manager_connections.create_or_update( + network_manager_connection_name="str", + parameters={ + "connectionState": "str", + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "networkManagerId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.subscription_network_manager_connections.get( + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_delete(self, resource_group): + response = self.client.subscription_network_manager_connections.delete( + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.subscription_network_manager_connections.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subscription_network_manager_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subscription_network_manager_connections_operations_async.py new file mode 100644 index 000000000000..d1a604f05fd8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_subscription_network_manager_connections_operations_async.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementSubscriptionNetworkManagerConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.subscription_network_manager_connections.create_or_update( + network_manager_connection_name="str", + parameters={ + "connectionState": "str", + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "networkManagerId": "str", + "systemData": { + "createdAt": "2020-02-20 00:00:00", + "createdBy": "str", + "createdByType": "str", + "lastModifiedAt": "2020-02-20 00:00:00", + "lastModifiedBy": "str", + "lastModifiedByType": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.subscription_network_manager_connections.get( + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_delete(self, resource_group): + response = await self.client.subscription_network_manager_connections.delete( + network_manager_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.subscription_network_manager_connections.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_usages_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_usages_operations.py new file mode 100644 index 000000000000..33b4f54c6794 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_usages_operations.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementUsagesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.usages.list( + location="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_usages_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_usages_operations_async.py new file mode 100644 index 000000000000..cddb637c5c55 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_usages_operations_async.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementUsagesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.usages.list( + location="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vip_swap_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vip_swap_operations.py new file mode 100644 index 000000000000..865b345564a9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vip_swap_operations.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVipSwapOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vip_swap.get( + group_name="str", + resource_name="str", + singleton_resource="swap", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create(self, resource_group): + response = self.client.vip_swap.begin_create( + group_name="str", + resource_name="str", + parameters={"id": "str", "name": "str", "properties": {"slotType": "str"}, "type": "str"}, + singleton_resource="swap", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.vip_swap.list( + group_name="str", + resource_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vip_swap_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vip_swap_operations_async.py new file mode 100644 index 000000000000..eab2e148a180 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vip_swap_operations_async.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVipSwapOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vip_swap.get( + group_name="str", + resource_name="str", + singleton_resource="swap", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create(self, resource_group): + response = await ( + await self.client.vip_swap.begin_create( + group_name="str", + resource_name="str", + parameters={"id": "str", "name": "str", "properties": {"slotType": "str"}, "type": "str"}, + singleton_resource="swap", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = await self.client.vip_swap.list( + group_name="str", + resource_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_sites_operations.py new file mode 100644 index 000000000000..2cdf2f0075b5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_sites_operations.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualApplianceSitesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_appliance_sites.begin_delete( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + site_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_appliance_sites.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + site_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_appliance_sites.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + site_name="str", + parameters={ + "addressPrefix": "str", + "etag": "str", + "id": "str", + "name": "str", + "o365Policy": {"breakOutCategories": {"allow": bool, "default": bool, "optimize": bool}}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_appliance_sites.list( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_sites_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_sites_operations_async.py new file mode 100644 index 000000000000..2004fe68ecbe --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_sites_operations_async.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualApplianceSitesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_appliance_sites.begin_delete( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + site_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_appliance_sites.get( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + site_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_appliance_sites.begin_create_or_update( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + site_name="str", + parameters={ + "addressPrefix": "str", + "etag": "str", + "id": "str", + "name": "str", + "o365Policy": {"breakOutCategories": {"allow": bool, "default": bool, "optimize": bool}}, + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_appliance_sites.list( + resource_group_name=resource_group.name, + network_virtual_appliance_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_skus_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_skus_operations.py new file mode 100644 index 000000000000..aca7cba3fb04 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_skus_operations.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualApplianceSkusOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_appliance_skus.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_appliance_skus.get( + sku_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_skus_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_skus_operations_async.py new file mode 100644 index 000000000000..d8a748fc83f0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_appliance_skus_operations_async.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualApplianceSkusOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_appliance_skus.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_appliance_skus.get( + sku_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connection_operations.py new file mode 100644 index 000000000000..a7af9ad625bc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connection_operations.py @@ -0,0 +1,69 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubBgpConnectionOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_hub_bgp_connection.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_hub_bgp_connection.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + parameters={ + "connectionState": "str", + "etag": "str", + "hubVirtualNetworkConnection": {"id": "str"}, + "id": "str", + "name": "str", + "peerAsn": 0, + "peerIp": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_hub_bgp_connection.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connection_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connection_operations_async.py new file mode 100644 index 000000000000..b33bd952c3bc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connection_operations_async.py @@ -0,0 +1,74 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubBgpConnectionOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_hub_bgp_connection.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_hub_bgp_connection.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + parameters={ + "connectionState": "str", + "etag": "str", + "hubVirtualNetworkConnection": {"id": "str"}, + "id": "str", + "name": "str", + "peerAsn": 0, + "peerIp": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_hub_bgp_connection.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connections_operations.py new file mode 100644 index 000000000000..8e6c0add748a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connections_operations.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubBgpConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_hub_bgp_connections.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_learned_routes(self, resource_group): + response = self.client.virtual_hub_bgp_connections.begin_list_learned_routes( + resource_group_name=resource_group.name, + hub_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_advertised_routes(self, resource_group): + response = self.client.virtual_hub_bgp_connections.begin_list_advertised_routes( + resource_group_name=resource_group.name, + hub_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connections_operations_async.py new file mode 100644 index 000000000000..f6928bcfa15c --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_bgp_connections_operations_async.py @@ -0,0 +1,62 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubBgpConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_hub_bgp_connections.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_learned_routes(self, resource_group): + response = await ( + await self.client.virtual_hub_bgp_connections.begin_list_learned_routes( + resource_group_name=resource_group.name, + hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_advertised_routes(self, resource_group): + response = await ( + await self.client.virtual_hub_bgp_connections.begin_list_advertised_routes( + resource_group_name=resource_group.name, + hub_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_ip_configuration_operations.py new file mode 100644 index 000000000000..62d8cdf3d148 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_ip_configuration_operations.py @@ -0,0 +1,3635 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubIpConfigurationOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_hub_ip_configuration.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + ip_config_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_hub_ip_configuration.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + ip_config_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_hub_ip_configuration.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + ip_config_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_hub_ip_configuration.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_ip_configuration_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_ip_configuration_operations_async.py new file mode 100644 index 000000000000..1eca2096dba8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_ip_configuration_operations_async.py @@ -0,0 +1,3659 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubIpConfigurationOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_hub_ip_configuration.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + ip_config_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_hub_ip_configuration.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + ip_config_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_hub_ip_configuration.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + ip_config_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_hub_ip_configuration.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_route_table_v2_soperations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_route_table_v2_soperations.py new file mode 100644 index 000000000000..0910a0244b0b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_route_table_v2_soperations.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubRouteTableV2SOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_hub_route_table_v2_s.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_hub_route_table_v2_s.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + virtual_hub_route_table_v2_parameters={ + "attachedConnections": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "routes": [ + {"destinationType": "str", "destinations": ["str"], "nextHopType": "str", "nextHops": ["str"]} + ], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_hub_route_table_v2_s.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_hub_route_table_v2_s.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_route_table_v2_soperations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_route_table_v2_soperations_async.py new file mode 100644 index 000000000000..e55ee6d24409 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hub_route_table_v2_soperations_async.py @@ -0,0 +1,85 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubRouteTableV2SOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_hub_route_table_v2_s.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_hub_route_table_v2_s.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + virtual_hub_route_table_v2_parameters={ + "attachedConnections": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "routes": [ + {"destinationType": "str", "destinations": ["str"], "nextHopType": "str", "nextHops": ["str"]} + ], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_hub_route_table_v2_s.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + route_table_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_hub_route_table_v2_s.list( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hubs_operations.py new file mode 100644 index 000000000000..10d746d9811a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hubs_operations.py @@ -0,0 +1,174 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_hubs.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_hubs.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + virtual_hub_parameters={ + "addressPrefix": "str", + "allowBranchToBranchTraffic": bool, + "azureFirewall": {"id": "str"}, + "bgpConnections": [{"id": "str"}], + "etag": "str", + "expressRouteGateway": {"id": "str"}, + "hubRoutingPreference": "str", + "id": "str", + "ipConfigurations": [{"id": "str"}], + "kind": "str", + "location": "str", + "name": "str", + "p2SVpnGateway": {"id": "str"}, + "preferredRoutingGateway": "str", + "provisioningState": "str", + "routeMaps": [{"id": "str"}], + "routeTable": {"routes": [{"addressPrefixes": ["str"], "nextHopIpAddress": "str"}]}, + "routingState": "str", + "securityPartnerProvider": {"id": "str"}, + "securityProviderName": "str", + "sku": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHubRouteTableV2s": [ + { + "attachedConnections": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "routes": [ + { + "destinationType": "str", + "destinations": ["str"], + "nextHopType": "str", + "nextHops": ["str"], + } + ], + } + ], + "virtualRouterAsn": 0, + "virtualRouterAutoScaleConfiguration": {"minCapacity": 0}, + "virtualRouterIps": ["str"], + "virtualWan": {"id": "str"}, + "vpnGateway": {"id": "str"}, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.virtual_hubs.update_tags( + resource_group_name=resource_group.name, + virtual_hub_name="str", + virtual_hub_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_hubs.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_hubs.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_hubs.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_effective_virtual_hub_routes(self, resource_group): + response = self.client.virtual_hubs.begin_get_effective_virtual_hub_routes( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_inbound_routes(self, resource_group): + response = self.client.virtual_hubs.begin_get_inbound_routes( + resource_group_name=resource_group.name, + virtual_hub_name="str", + get_inbound_routes_parameters={"connectionType": "str", "resourceUri": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_outbound_routes(self, resource_group): + response = self.client.virtual_hubs.begin_get_outbound_routes( + resource_group_name=resource_group.name, + virtual_hub_name="str", + get_outbound_routes_parameters={"connectionType": "str", "resourceUri": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hubs_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hubs_operations_async.py new file mode 100644 index 000000000000..fb444f64ce4a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_hubs_operations_async.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualHubsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_hubs.get( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_hubs.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_hub_name="str", + virtual_hub_parameters={ + "addressPrefix": "str", + "allowBranchToBranchTraffic": bool, + "azureFirewall": {"id": "str"}, + "bgpConnections": [{"id": "str"}], + "etag": "str", + "expressRouteGateway": {"id": "str"}, + "hubRoutingPreference": "str", + "id": "str", + "ipConfigurations": [{"id": "str"}], + "kind": "str", + "location": "str", + "name": "str", + "p2SVpnGateway": {"id": "str"}, + "preferredRoutingGateway": "str", + "provisioningState": "str", + "routeMaps": [{"id": "str"}], + "routeTable": {"routes": [{"addressPrefixes": ["str"], "nextHopIpAddress": "str"}]}, + "routingState": "str", + "securityPartnerProvider": {"id": "str"}, + "securityProviderName": "str", + "sku": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHubRouteTableV2s": [ + { + "attachedConnections": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "routes": [ + { + "destinationType": "str", + "destinations": ["str"], + "nextHopType": "str", + "nextHops": ["str"], + } + ], + } + ], + "virtualRouterAsn": 0, + "virtualRouterAutoScaleConfiguration": {"minCapacity": 0}, + "virtualRouterIps": ["str"], + "virtualWan": {"id": "str"}, + "vpnGateway": {"id": "str"}, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.virtual_hubs.update_tags( + resource_group_name=resource_group.name, + virtual_hub_name="str", + virtual_hub_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_hubs.begin_delete( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_hubs.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_hubs.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_effective_virtual_hub_routes(self, resource_group): + response = await ( + await self.client.virtual_hubs.begin_get_effective_virtual_hub_routes( + resource_group_name=resource_group.name, + virtual_hub_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_inbound_routes(self, resource_group): + response = await ( + await self.client.virtual_hubs.begin_get_inbound_routes( + resource_group_name=resource_group.name, + virtual_hub_name="str", + get_inbound_routes_parameters={"connectionType": "str", "resourceUri": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_outbound_routes(self, resource_group): + response = await ( + await self.client.virtual_hubs.begin_get_outbound_routes( + resource_group_name=resource_group.name, + virtual_hub_name="str", + get_outbound_routes_parameters={"connectionType": "str", "resourceUri": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_connections_operations.py new file mode 100644 index 000000000000..69a1b7ba49cd --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_connections_operations.py @@ -0,0 +1,509 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkGatewayConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={ + "connectionType": "str", + "virtualNetworkGateway1": { + "activeActive": bool, + "adminState": "str", + "allowRemoteVnetTraffic": bool, + "allowVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "customRoutes": {"addressPrefixes": ["str"]}, + "disableIPSecReplayProtection": bool, + "enableBgp": bool, + "enableBgpRouteTranslationForNat": bool, + "enableDnsForwarding": bool, + "enablePrivateIpAddress": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "gatewayDefaultSite": {"id": "str"}, + "gatewayType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundDnsForwardingEndpoint": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + } + ], + "location": "str", + "name": "str", + "natRules": [ + { + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resiliencyModel": "str", + "resourceGuid": "str", + "sku": {"capacity": 0, "name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "vNetExtendedLocationResourceId": "str", + "virtualNetworkGatewayPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "vngClientConnectionConfigurations": [{"id": "str"}], + } + ], + "vpnClientConfiguration": { + "aadAudience": "str", + "aadIssuer": "str", + "aadTenant": "str", + "radiusServerAddress": "str", + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "vngClientConnectionConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "virtualNetworkGatewayPolicyGroups": [{"id": "str"}], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "vpnAuthenticationTypes": ["str"], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientProtocols": ["str"], + "vpnClientRevokedCertificates": [ + {"etag": "str", "id": "str", "name": "str", "provisioningState": "str", "thumbprint": "str"} + ], + "vpnClientRootCertificates": [ + { + "publicCertData": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + } + ], + }, + "vpnGatewayGeneration": "str", + "vpnType": "str", + }, + "authorizationKey": "str", + "connectionMode": "str", + "connectionProtocol": "str", + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "egressNatRules": [{"id": "str"}], + "enableBgp": bool, + "enablePrivateLinkFastPath": bool, + "etag": "str", + "expressRouteGatewayBypass": bool, + "gatewayCustomBgpIpAddresses": [{"customBgpIpAddress": "str", "ipConfigurationId": "str"}], + "id": "str", + "ingressBytesTransferred": 0, + "ingressNatRules": [{"id": "str"}], + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "localNetworkGateway2": { + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "etag": "str", + "fqdn": "str", + "gatewayIpAddress": "str", + "id": "str", + "localNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + "location": "str", + "name": "str", + "peer": {"id": "str"}, + "provisioningState": "str", + "resourceGuid": "str", + "routingWeight": 0, + "sharedKey": "str", + "tags": {"str": "str"}, + "trafficSelectorPolicies": [{"localAddressRanges": ["str"], "remoteAddressRanges": ["str"]}], + "tunnelConnectionStatus": [ + { + "connectionStatus": "str", + "egressBytesTransferred": 0, + "ingressBytesTransferred": 0, + "lastConnectionEstablishedUtcTime": "str", + "tunnel": "str", + } + ], + "type": "str", + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "virtualNetworkGateway2": { + "activeActive": bool, + "adminState": "str", + "allowRemoteVnetTraffic": bool, + "allowVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "customRoutes": {"addressPrefixes": ["str"]}, + "disableIPSecReplayProtection": bool, + "enableBgp": bool, + "enableBgpRouteTranslationForNat": bool, + "enableDnsForwarding": bool, + "enablePrivateIpAddress": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "gatewayDefaultSite": {"id": "str"}, + "gatewayType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundDnsForwardingEndpoint": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + } + ], + "location": "str", + "name": "str", + "natRules": [ + { + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resiliencyModel": "str", + "resourceGuid": "str", + "sku": {"capacity": 0, "name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "vNetExtendedLocationResourceId": "str", + "virtualNetworkGatewayPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "vngClientConnectionConfigurations": [{"id": "str"}], + } + ], + "vpnClientConfiguration": { + "aadAudience": "str", + "aadIssuer": "str", + "aadTenant": "str", + "radiusServerAddress": "str", + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "vngClientConnectionConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "virtualNetworkGatewayPolicyGroups": [{"id": "str"}], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "vpnAuthenticationTypes": ["str"], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientProtocols": ["str"], + "vpnClientRevokedCertificates": [ + {"etag": "str", "id": "str", "name": "str", "provisioningState": "str", "thumbprint": "str"} + ], + "vpnClientRootCertificates": [ + { + "publicCertData": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + } + ], + }, + "vpnGatewayGeneration": "str", + "vpnType": "str", + }, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_network_gateway_connections.get( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_delete( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_update_tags( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_set_shared_key(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_set_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"value": "str", "id": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_shared_key(self, resource_group): + response = self.client.virtual_network_gateway_connections.get_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_network_gateway_connections.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset_shared_key(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_reset_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"keyLength": 0}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_start_packet_capture(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_start_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop_packet_capture(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_stop_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"sasUrl": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_ike_sas(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_get_ike_sas( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset_connection(self, resource_group): + response = self.client.virtual_network_gateway_connections.begin_reset_connection( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_connections_operations_async.py new file mode 100644 index 000000000000..36e319d494bc --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_connections_operations_async.py @@ -0,0 +1,540 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkGatewayConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={ + "connectionType": "str", + "virtualNetworkGateway1": { + "activeActive": bool, + "adminState": "str", + "allowRemoteVnetTraffic": bool, + "allowVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "customRoutes": {"addressPrefixes": ["str"]}, + "disableIPSecReplayProtection": bool, + "enableBgp": bool, + "enableBgpRouteTranslationForNat": bool, + "enableDnsForwarding": bool, + "enablePrivateIpAddress": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "gatewayDefaultSite": {"id": "str"}, + "gatewayType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundDnsForwardingEndpoint": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + } + ], + "location": "str", + "name": "str", + "natRules": [ + { + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resiliencyModel": "str", + "resourceGuid": "str", + "sku": {"capacity": 0, "name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "vNetExtendedLocationResourceId": "str", + "virtualNetworkGatewayPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "vngClientConnectionConfigurations": [{"id": "str"}], + } + ], + "vpnClientConfiguration": { + "aadAudience": "str", + "aadIssuer": "str", + "aadTenant": "str", + "radiusServerAddress": "str", + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "vngClientConnectionConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "virtualNetworkGatewayPolicyGroups": [{"id": "str"}], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "vpnAuthenticationTypes": ["str"], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientProtocols": ["str"], + "vpnClientRevokedCertificates": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "thumbprint": "str", + } + ], + "vpnClientRootCertificates": [ + { + "publicCertData": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + } + ], + }, + "vpnGatewayGeneration": "str", + "vpnType": "str", + }, + "authorizationKey": "str", + "connectionMode": "str", + "connectionProtocol": "str", + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "egressNatRules": [{"id": "str"}], + "enableBgp": bool, + "enablePrivateLinkFastPath": bool, + "etag": "str", + "expressRouteGatewayBypass": bool, + "gatewayCustomBgpIpAddresses": [{"customBgpIpAddress": "str", "ipConfigurationId": "str"}], + "id": "str", + "ingressBytesTransferred": 0, + "ingressNatRules": [{"id": "str"}], + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "localNetworkGateway2": { + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "etag": "str", + "fqdn": "str", + "gatewayIpAddress": "str", + "id": "str", + "localNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + "location": "str", + "name": "str", + "peer": {"id": "str"}, + "provisioningState": "str", + "resourceGuid": "str", + "routingWeight": 0, + "sharedKey": "str", + "tags": {"str": "str"}, + "trafficSelectorPolicies": [{"localAddressRanges": ["str"], "remoteAddressRanges": ["str"]}], + "tunnelConnectionStatus": [ + { + "connectionStatus": "str", + "egressBytesTransferred": 0, + "ingressBytesTransferred": 0, + "lastConnectionEstablishedUtcTime": "str", + "tunnel": "str", + } + ], + "type": "str", + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "virtualNetworkGateway2": { + "activeActive": bool, + "adminState": "str", + "allowRemoteVnetTraffic": bool, + "allowVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "customRoutes": {"addressPrefixes": ["str"]}, + "disableIPSecReplayProtection": bool, + "enableBgp": bool, + "enableBgpRouteTranslationForNat": bool, + "enableDnsForwarding": bool, + "enablePrivateIpAddress": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "gatewayDefaultSite": {"id": "str"}, + "gatewayType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundDnsForwardingEndpoint": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + } + ], + "location": "str", + "name": "str", + "natRules": [ + { + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resiliencyModel": "str", + "resourceGuid": "str", + "sku": {"capacity": 0, "name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "vNetExtendedLocationResourceId": "str", + "virtualNetworkGatewayPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "vngClientConnectionConfigurations": [{"id": "str"}], + } + ], + "vpnClientConfiguration": { + "aadAudience": "str", + "aadIssuer": "str", + "aadTenant": "str", + "radiusServerAddress": "str", + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "vngClientConnectionConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "virtualNetworkGatewayPolicyGroups": [{"id": "str"}], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "vpnAuthenticationTypes": ["str"], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientProtocols": ["str"], + "vpnClientRevokedCertificates": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "thumbprint": "str", + } + ], + "vpnClientRootCertificates": [ + { + "publicCertData": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + } + ], + }, + "vpnGatewayGeneration": "str", + "vpnType": "str", + }, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_network_gateway_connections.get( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_delete( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_update_tags( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_set_shared_key(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_set_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"value": "str", "id": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_shared_key(self, resource_group): + response = await self.client.virtual_network_gateway_connections.get_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_network_gateway_connections.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset_shared_key(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_reset_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"keyLength": 0}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_start_packet_capture(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_start_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop_packet_capture(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_stop_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"sasUrl": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_ike_sas(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_get_ike_sas( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset_connection(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_connections.begin_reset_connection( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_nat_rules_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_nat_rules_operations.py new file mode 100644 index 000000000000..fdd532526d20 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_nat_rules_operations.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkGatewayNatRulesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_network_gateway_nat_rules.get( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_network_gateway_nat_rules.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + nat_rule_name="str", + nat_rule_parameters={ + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_network_gateway_nat_rules.begin_delete( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_virtual_network_gateway(self, resource_group): + response = self.client.virtual_network_gateway_nat_rules.list_by_virtual_network_gateway( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_nat_rules_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_nat_rules_operations_async.py new file mode 100644 index 000000000000..fd538a49ceeb --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateway_nat_rules_operations_async.py @@ -0,0 +1,86 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkGatewayNatRulesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_network_gateway_nat_rules.get( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_nat_rules.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + nat_rule_name="str", + nat_rule_parameters={ + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_network_gateway_nat_rules.begin_delete( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + nat_rule_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_virtual_network_gateway(self, resource_group): + response = self.client.virtual_network_gateway_nat_rules.list_by_virtual_network_gateway( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateways_operations.py new file mode 100644 index 000000000000..c5bee73136d9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateways_operations.py @@ -0,0 +1,436 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_network_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={ + "activeActive": bool, + "adminState": "str", + "allowRemoteVnetTraffic": bool, + "allowVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "customRoutes": {"addressPrefixes": ["str"]}, + "disableIPSecReplayProtection": bool, + "enableBgp": bool, + "enableBgpRouteTranslationForNat": bool, + "enableDnsForwarding": bool, + "enablePrivateIpAddress": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "gatewayDefaultSite": {"id": "str"}, + "gatewayType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundDnsForwardingEndpoint": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + } + ], + "location": "str", + "name": "str", + "natRules": [ + { + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resiliencyModel": "str", + "resourceGuid": "str", + "sku": {"capacity": 0, "name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "vNetExtendedLocationResourceId": "str", + "virtualNetworkGatewayPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "vngClientConnectionConfigurations": [{"id": "str"}], + } + ], + "vpnClientConfiguration": { + "aadAudience": "str", + "aadIssuer": "str", + "aadTenant": "str", + "radiusServerAddress": "str", + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "vngClientConnectionConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "virtualNetworkGatewayPolicyGroups": [{"id": "str"}], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "vpnAuthenticationTypes": ["str"], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientProtocols": ["str"], + "vpnClientRevokedCertificates": [ + {"etag": "str", "id": "str", "name": "str", "provisioningState": "str", "thumbprint": "str"} + ], + "vpnClientRootCertificates": [ + {"publicCertData": "str", "etag": "str", "id": "str", "name": "str", "provisioningState": "str"} + ], + }, + "vpnGatewayGeneration": "str", + "vpnType": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_network_gateways.get( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_network_gateways.begin_delete( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.virtual_network_gateways.begin_update_tags( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_network_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_connections(self, resource_group): + response = self.client.virtual_network_gateways.list_connections( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset(self, resource_group): + response = self.client.virtual_network_gateways.begin_reset( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset_vpn_client_shared_key(self, resource_group): + response = self.client.virtual_network_gateways.begin_reset_vpn_client_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_generatevpnclientpackage(self, resource_group): + response = self.client.virtual_network_gateways.begin_generatevpnclientpackage( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={ + "authenticationMethod": "str", + "clientRootCertificates": ["str"], + "processorArchitecture": "str", + "radiusServerAuthCertificate": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_generate_vpn_profile(self, resource_group): + response = self.client.virtual_network_gateways.begin_generate_vpn_profile( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={ + "authenticationMethod": "str", + "clientRootCertificates": ["str"], + "processorArchitecture": "str", + "radiusServerAuthCertificate": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_vpn_profile_package_url(self, resource_group): + response = self.client.virtual_network_gateways.begin_get_vpn_profile_package_url( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_bgp_peer_status(self, resource_group): + response = self.client.virtual_network_gateways.begin_get_bgp_peer_status( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_supported_vpn_devices(self, resource_group): + response = self.client.virtual_network_gateways.supported_vpn_devices( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_learned_routes(self, resource_group): + response = self.client.virtual_network_gateways.begin_get_learned_routes( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_advertised_routes(self, resource_group): + response = self.client.virtual_network_gateways.begin_get_advertised_routes( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + peer="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_set_vpnclient_ipsec_parameters(self, resource_group): + response = self.client.virtual_network_gateways.begin_set_vpnclient_ipsec_parameters( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + vpnclient_ipsec_params={ + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_vpnclient_ipsec_parameters(self, resource_group): + response = self.client.virtual_network_gateways.begin_get_vpnclient_ipsec_parameters( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_vpn_device_configuration_script(self, resource_group): + response = self.client.virtual_network_gateways.vpn_device_configuration_script( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"deviceFamily": "str", "firmwareVersion": "str", "vendor": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_start_packet_capture(self, resource_group): + response = self.client.virtual_network_gateways.begin_start_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop_packet_capture(self, resource_group): + response = self.client.virtual_network_gateways.begin_stop_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={"sasUrl": "str"}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_vpnclient_connection_health(self, resource_group): + response = self.client.virtual_network_gateways.begin_get_vpnclient_connection_health( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_disconnect_virtual_network_gateway_vpn_connections(self, resource_group): + response = self.client.virtual_network_gateways.begin_disconnect_virtual_network_gateway_vpn_connections( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + request={"vpnConnectionIds": ["str"]}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateways_operations_async.py new file mode 100644 index 000000000000..ce8f079f13f4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_gateways_operations_async.py @@ -0,0 +1,477 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={ + "activeActive": bool, + "adminState": "str", + "allowRemoteVnetTraffic": bool, + "allowVirtualWanTraffic": bool, + "autoScaleConfiguration": {"bounds": {"max": 0, "min": 0}}, + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "customRoutes": {"addressPrefixes": ["str"]}, + "disableIPSecReplayProtection": bool, + "enableBgp": bool, + "enableBgpRouteTranslationForNat": bool, + "enableDnsForwarding": bool, + "enablePrivateIpAddress": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "gatewayDefaultSite": {"id": "str"}, + "gatewayType": "str", + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "inboundDnsForwardingEndpoint": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + } + ], + "location": "str", + "name": "str", + "natRules": [ + { + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "resiliencyModel": "str", + "resourceGuid": "str", + "sku": {"capacity": 0, "name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "vNetExtendedLocationResourceId": "str", + "virtualNetworkGatewayPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "vngClientConnectionConfigurations": [{"id": "str"}], + } + ], + "vpnClientConfiguration": { + "aadAudience": "str", + "aadIssuer": "str", + "aadTenant": "str", + "radiusServerAddress": "str", + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "vngClientConnectionConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "virtualNetworkGatewayPolicyGroups": [{"id": "str"}], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "vpnAuthenticationTypes": ["str"], + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientProtocols": ["str"], + "vpnClientRevokedCertificates": [ + {"etag": "str", "id": "str", "name": "str", "provisioningState": "str", "thumbprint": "str"} + ], + "vpnClientRootCertificates": [ + { + "publicCertData": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + } + ], + }, + "vpnGatewayGeneration": "str", + "vpnType": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_network_gateways.get( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_delete( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_update_tags( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_network_gateways.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_connections(self, resource_group): + response = self.client.virtual_network_gateways.list_connections( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_reset( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset_vpn_client_shared_key(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_reset_vpn_client_shared_key( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_generatevpnclientpackage(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_generatevpnclientpackage( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={ + "authenticationMethod": "str", + "clientRootCertificates": ["str"], + "processorArchitecture": "str", + "radiusServerAuthCertificate": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_generate_vpn_profile(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_generate_vpn_profile( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={ + "authenticationMethod": "str", + "clientRootCertificates": ["str"], + "processorArchitecture": "str", + "radiusServerAuthCertificate": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_vpn_profile_package_url(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_get_vpn_profile_package_url( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_bgp_peer_status(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_get_bgp_peer_status( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_supported_vpn_devices(self, resource_group): + response = await self.client.virtual_network_gateways.supported_vpn_devices( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_learned_routes(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_get_learned_routes( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_advertised_routes(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_get_advertised_routes( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + peer="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_set_vpnclient_ipsec_parameters(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_set_vpnclient_ipsec_parameters( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + vpnclient_ipsec_params={ + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_vpnclient_ipsec_parameters(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_get_vpnclient_ipsec_parameters( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_vpn_device_configuration_script(self, resource_group): + response = await self.client.virtual_network_gateways.vpn_device_configuration_script( + resource_group_name=resource_group.name, + virtual_network_gateway_connection_name="str", + parameters={"deviceFamily": "str", "firmwareVersion": "str", "vendor": "str"}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_start_packet_capture(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_start_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop_packet_capture(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_stop_packet_capture( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + parameters={"sasUrl": "str"}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_vpnclient_connection_health(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_get_vpnclient_connection_health( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_disconnect_virtual_network_gateway_vpn_connections(self, resource_group): + response = await ( + await self.client.virtual_network_gateways.begin_disconnect_virtual_network_gateway_vpn_connections( + resource_group_name=resource_group.name, + virtual_network_gateway_name="str", + request={"vpnConnectionIds": ["str"]}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_peerings_operations.py new file mode 100644 index 000000000000..22d651fd4ab1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_peerings_operations.py @@ -0,0 +1,96 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkPeeringsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_network_peerings.begin_delete( + resource_group_name=resource_group.name, + virtual_network_name="str", + virtual_network_peering_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_network_peerings.get( + resource_group_name=resource_group.name, + virtual_network_name="str", + virtual_network_peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_network_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_name="str", + virtual_network_peering_name="str", + virtual_network_peering_parameters={ + "allowForwardedTraffic": bool, + "allowGatewayTransit": bool, + "allowVirtualNetworkAccess": bool, + "doNotVerifyRemoteGateways": bool, + "enableOnlyIPv6Peering": bool, + "etag": "str", + "id": "str", + "localAddressSpace": {"addressPrefixes": ["str"]}, + "localSubnetNames": ["str"], + "localVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "name": "str", + "peerCompleteVnets": bool, + "peeringState": "str", + "peeringSyncLevel": "str", + "provisioningState": "str", + "remoteAddressSpace": {"addressPrefixes": ["str"]}, + "remoteBgpCommunities": {"virtualNetworkCommunity": "str", "regionalCommunity": "str"}, + "remoteSubnetNames": ["str"], + "remoteVirtualNetwork": {"id": "str"}, + "remoteVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "remoteVirtualNetworkEncryption": {"enabled": bool, "enforcement": "str"}, + "resourceGuid": "str", + "type": "str", + "useRemoteGateways": bool, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_network_peerings.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_peerings_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_peerings_operations_async.py new file mode 100644 index 000000000000..c784c0dcfcf1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_peerings_operations_async.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkPeeringsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_network_peerings.begin_delete( + resource_group_name=resource_group.name, + virtual_network_name="str", + virtual_network_peering_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_network_peerings.get( + resource_group_name=resource_group.name, + virtual_network_name="str", + virtual_network_peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_network_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_name="str", + virtual_network_peering_name="str", + virtual_network_peering_parameters={ + "allowForwardedTraffic": bool, + "allowGatewayTransit": bool, + "allowVirtualNetworkAccess": bool, + "doNotVerifyRemoteGateways": bool, + "enableOnlyIPv6Peering": bool, + "etag": "str", + "id": "str", + "localAddressSpace": {"addressPrefixes": ["str"]}, + "localSubnetNames": ["str"], + "localVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "name": "str", + "peerCompleteVnets": bool, + "peeringState": "str", + "peeringSyncLevel": "str", + "provisioningState": "str", + "remoteAddressSpace": {"addressPrefixes": ["str"]}, + "remoteBgpCommunities": {"virtualNetworkCommunity": "str", "regionalCommunity": "str"}, + "remoteSubnetNames": ["str"], + "remoteVirtualNetwork": {"id": "str"}, + "remoteVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "remoteVirtualNetworkEncryption": {"enabled": bool, "enforcement": "str"}, + "resourceGuid": "str", + "type": "str", + "useRemoteGateways": bool, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_network_peerings.list( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_taps_operations.py new file mode 100644 index 000000000000..1f9504950c0f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_taps_operations.py @@ -0,0 +1,4445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkTapsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_network_taps.begin_delete( + resource_group_name=resource_group.name, + tap_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_network_taps.get( + resource_group_name=resource_group.name, + tap_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_network_taps.begin_create_or_update( + resource_group_name=resource_group.name, + tap_name="str", + parameters={ + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.virtual_network_taps.update_tags( + resource_group_name=resource_group.name, + tap_name="str", + tap_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.virtual_network_taps.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_network_taps.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_taps_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_taps_operations_async.py new file mode 100644 index 000000000000..5f37d5802ca7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_network_taps_operations_async.py @@ -0,0 +1,4465 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworkTapsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_network_taps.begin_delete( + resource_group_name=resource_group.name, + tap_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_network_taps.get( + resource_group_name=resource_group.name, + tap_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_network_taps.begin_create_or_update( + resource_group_name=resource_group.name, + tap_name="str", + parameters={ + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + {"backendPort": 0, "frontendPort": 0, "inboundNatRuleName": "str"} + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [{"identifier": 0, "port": 0, "protocol": "str", "type": "str"}], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.virtual_network_taps.update_tags( + resource_group_name=resource_group.name, + tap_name="str", + tap_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.virtual_network_taps.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_network_taps.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_networks_operations.py new file mode 100644 index 000000000000..133ccafb0bc4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_networks_operations.py @@ -0,0 +1,2278 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworksOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_networks.begin_delete( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_networks.get( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_networks.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={ + "addressSpace": {"addressPrefixes": ["str"]}, + "bgpCommunities": {"virtualNetworkCommunity": "str", "regionalCommunity": "str"}, + "ddosProtectionPlan": {"id": "str"}, + "dhcpOptions": {"dnsServers": ["str"]}, + "enableDdosProtection": False, + "enableVmProtection": False, + "encryption": {"enabled": bool, "enforcement": "str"}, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flowTimeoutInMinutes": 0, + "id": "str", + "ipAllocations": [{"id": "str"}], + "location": "str", + "name": "str", + "privateEndpointVNetPolicies": "str", + "provisioningState": "str", + "resourceGuid": "str", + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + "virtualNetworkPeerings": [ + { + "allowForwardedTraffic": bool, + "allowGatewayTransit": bool, + "allowVirtualNetworkAccess": bool, + "doNotVerifyRemoteGateways": bool, + "enableOnlyIPv6Peering": bool, + "etag": "str", + "id": "str", + "localAddressSpace": {"addressPrefixes": ["str"]}, + "localSubnetNames": ["str"], + "localVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "name": "str", + "peerCompleteVnets": bool, + "peeringState": "str", + "peeringSyncLevel": "str", + "provisioningState": "str", + "remoteAddressSpace": {"addressPrefixes": ["str"]}, + "remoteBgpCommunities": {"virtualNetworkCommunity": "str", "regionalCommunity": "str"}, + "remoteSubnetNames": ["str"], + "remoteVirtualNetwork": {"id": "str"}, + "remoteVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "remoteVirtualNetworkEncryption": {"enabled": bool, "enforcement": "str"}, + "resourceGuid": "str", + "type": "str", + "useRemoteGateways": bool, + } + ], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.virtual_networks.update_tags( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.virtual_networks.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_networks.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_check_ip_address_availability(self, resource_group): + response = self.client.virtual_networks.check_ip_address_availability( + resource_group_name=resource_group.name, + virtual_network_name="str", + ip_address="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_usage(self, resource_group): + response = self.client.virtual_networks.list_usage( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list_ddos_protection_status(self, resource_group): + response = self.client.virtual_networks.begin_list_ddos_protection_status( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_networks_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_networks_operations_async.py new file mode 100644 index 000000000000..3bb316242e1f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_networks_operations_async.py @@ -0,0 +1,2298 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualNetworksOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_networks.begin_delete( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_networks.get( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_networks.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={ + "addressSpace": {"addressPrefixes": ["str"]}, + "bgpCommunities": {"virtualNetworkCommunity": "str", "regionalCommunity": "str"}, + "ddosProtectionPlan": {"id": "str"}, + "dhcpOptions": {"dnsServers": ["str"]}, + "enableDdosProtection": False, + "enableVmProtection": False, + "encryption": {"enabled": bool, "enforcement": "str"}, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flowTimeoutInMinutes": 0, + "id": "str", + "ipAllocations": [{"id": "str"}], + "location": "str", + "name": "str", + "privateEndpointVNetPolicies": "str", + "provisioningState": "str", + "resourceGuid": "str", + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": {"ddosProtectionPlan": {"id": "str"}, "protectionMode": "str"}, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + "virtualNetworkPeerings": [ + { + "allowForwardedTraffic": bool, + "allowGatewayTransit": bool, + "allowVirtualNetworkAccess": bool, + "doNotVerifyRemoteGateways": bool, + "enableOnlyIPv6Peering": bool, + "etag": "str", + "id": "str", + "localAddressSpace": {"addressPrefixes": ["str"]}, + "localSubnetNames": ["str"], + "localVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "name": "str", + "peerCompleteVnets": bool, + "peeringState": "str", + "peeringSyncLevel": "str", + "provisioningState": "str", + "remoteAddressSpace": {"addressPrefixes": ["str"]}, + "remoteBgpCommunities": {"virtualNetworkCommunity": "str", "regionalCommunity": "str"}, + "remoteSubnetNames": ["str"], + "remoteVirtualNetwork": {"id": "str"}, + "remoteVirtualNetworkAddressSpace": {"addressPrefixes": ["str"]}, + "remoteVirtualNetworkEncryption": {"enabled": bool, "enforcement": "str"}, + "resourceGuid": "str", + "type": "str", + "useRemoteGateways": bool, + } + ], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.virtual_networks.update_tags( + resource_group_name=resource_group.name, + virtual_network_name="str", + parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.virtual_networks.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_networks.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_check_ip_address_availability(self, resource_group): + response = await self.client.virtual_networks.check_ip_address_availability( + resource_group_name=resource_group.name, + virtual_network_name="str", + ip_address="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_usage(self, resource_group): + response = self.client.virtual_networks.list_usage( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list_ddos_protection_status(self, resource_group): + response = await ( + await self.client.virtual_networks.begin_list_ddos_protection_status( + resource_group_name=resource_group.name, + virtual_network_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_router_peerings_operations.py new file mode 100644 index 000000000000..41926cae8acb --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_router_peerings_operations.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualRouterPeeringsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_router_peerings.begin_delete( + resource_group_name=resource_group.name, + virtual_router_name="str", + peering_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_router_peerings.get( + resource_group_name=resource_group.name, + virtual_router_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_router_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_router_name="str", + peering_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "peerAsn": 0, + "peerIp": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_router_peerings.list( + resource_group_name=resource_group.name, + virtual_router_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_router_peerings_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_router_peerings_operations_async.py new file mode 100644 index 000000000000..60721e88b35a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_router_peerings_operations_async.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualRouterPeeringsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_router_peerings.begin_delete( + resource_group_name=resource_group.name, + virtual_router_name="str", + peering_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_router_peerings.get( + resource_group_name=resource_group.name, + virtual_router_name="str", + peering_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_router_peerings.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_router_name="str", + peering_name="str", + parameters={ + "etag": "str", + "id": "str", + "name": "str", + "peerAsn": 0, + "peerIp": "str", + "provisioningState": "str", + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_router_peerings.list( + resource_group_name=resource_group.name, + virtual_router_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_routers_operations.py new file mode 100644 index 000000000000..261142b7d5a9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_routers_operations.py @@ -0,0 +1,90 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualRoutersOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_routers.begin_delete( + resource_group_name=resource_group.name, + virtual_router_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_routers.get( + resource_group_name=resource_group.name, + virtual_router_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_routers.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_router_name="str", + parameters={ + "etag": "str", + "hostedGateway": {"id": "str"}, + "hostedSubnet": {"id": "str"}, + "id": "str", + "location": "str", + "name": "str", + "peerings": [{"id": "str"}], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualRouterAsn": 0, + "virtualRouterIps": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_routers.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_routers.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_routers_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_routers_operations_async.py new file mode 100644 index 000000000000..7c2a00697596 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_routers_operations_async.py @@ -0,0 +1,95 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualRoutersOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_routers.begin_delete( + resource_group_name=resource_group.name, + virtual_router_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_routers.get( + resource_group_name=resource_group.name, + virtual_router_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_routers.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_router_name="str", + parameters={ + "etag": "str", + "hostedGateway": {"id": "str"}, + "hostedSubnet": {"id": "str"}, + "id": "str", + "location": "str", + "name": "str", + "peerings": [{"id": "str"}], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualRouterAsn": 0, + "virtualRouterIps": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_routers.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_routers.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_wans_operations.py new file mode 100644 index 000000000000..8468d097ae74 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_wans_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualWansOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.virtual_wans.get( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.virtual_wans.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_wan_name="str", + wan_parameters={ + "allowBranchToBranchTraffic": bool, + "allowVnetToVnetTraffic": bool, + "disableVpnEncryption": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "office365LocalBreakoutCategory": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHubs": [{"id": "str"}], + "vpnSites": [{"id": "str"}], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.virtual_wans.update_tags( + resource_group_name=resource_group.name, + virtual_wan_name="str", + wan_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.virtual_wans.begin_delete( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_wans.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.virtual_wans.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_wans_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_wans_operations_async.py new file mode 100644 index 000000000000..9afac556f20d --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_virtual_wans_operations_async.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVirtualWansOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.virtual_wans.get( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.virtual_wans.begin_create_or_update( + resource_group_name=resource_group.name, + virtual_wan_name="str", + wan_parameters={ + "allowBranchToBranchTraffic": bool, + "allowVnetToVnetTraffic": bool, + "disableVpnEncryption": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "office365LocalBreakoutCategory": "str", + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHubs": [{"id": "str"}], + "vpnSites": [{"id": "str"}], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.virtual_wans.update_tags( + resource_group_name=resource_group.name, + virtual_wan_name="str", + wan_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.virtual_wans.begin_delete( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.virtual_wans.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.virtual_wans.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_connections_operations.py new file mode 100644 index 000000000000..6486d286b71f --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_connections_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vpn_connections.get( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.vpn_connections.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + vpn_connection_parameters={ + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": bool, + "enableInternetSecurity": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "remoteVpnSite": {"id": "str"}, + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": {"propagateStaticRoutes": bool, "vnetLocalRouteOverrideCriteria": "str"}, + }, + }, + "routingWeight": 0, + "sharedKey": "str", + "trafficSelectorPolicies": [{"localAddressRanges": ["str"], "remoteAddressRanges": ["str"]}], + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnLinkConnections": [ + { + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "egressNatRules": [{"id": "str"}], + "enableBgp": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ingressNatRules": [{"id": "str"}], + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "routingWeight": 0, + "sharedKey": "str", + "type": "str", + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnGatewayCustomBgpAddresses": [{"customBgpIpAddress": "str", "ipConfigurationId": "str"}], + "vpnLinkConnectionMode": "str", + "vpnSiteLink": {"id": "str"}, + } + ], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.vpn_connections.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_start_packet_capture(self, resource_group): + response = self.client.vpn_connections.begin_start_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop_packet_capture(self, resource_group): + response = self.client.vpn_connections.begin_stop_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_vpn_gateway(self, resource_group): + response = self.client.vpn_connections.list_by_vpn_gateway( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_connections_operations_async.py new file mode 100644 index 000000000000..bba136c5c859 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_connections_operations_async.py @@ -0,0 +1,190 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vpn_connections.get( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.vpn_connections.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + vpn_connection_parameters={ + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": bool, + "enableInternetSecurity": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "remoteVpnSite": {"id": "str"}, + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [{"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"}], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "routingWeight": 0, + "sharedKey": "str", + "trafficSelectorPolicies": [{"localAddressRanges": ["str"], "remoteAddressRanges": ["str"]}], + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnLinkConnections": [ + { + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "egressNatRules": [{"id": "str"}], + "enableBgp": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ingressNatRules": [{"id": "str"}], + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "routingWeight": 0, + "sharedKey": "str", + "type": "str", + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnGatewayCustomBgpAddresses": [{"customBgpIpAddress": "str", "ipConfigurationId": "str"}], + "vpnLinkConnectionMode": "str", + "vpnSiteLink": {"id": "str"}, + } + ], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.vpn_connections.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_start_packet_capture(self, resource_group): + response = await ( + await self.client.vpn_connections.begin_start_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop_packet_capture(self, resource_group): + response = await ( + await self.client.vpn_connections.begin_stop_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_vpn_gateway(self, resource_group): + response = self.client.vpn_connections.list_by_vpn_gateway( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_gateways_operations.py new file mode 100644 index 000000000000..cb46e451d24e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_gateways_operations.py @@ -0,0 +1,258 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnGatewaysOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vpn_gateways.get( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.vpn_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_gateway_parameters={ + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "connections": [ + { + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": bool, + "enableInternetSecurity": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "remoteVpnSite": {"id": "str"}, + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "routingWeight": 0, + "sharedKey": "str", + "trafficSelectorPolicies": [{"localAddressRanges": ["str"], "remoteAddressRanges": ["str"]}], + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnLinkConnections": [ + { + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "egressNatRules": [{"id": "str"}], + "enableBgp": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ingressNatRules": [{"id": "str"}], + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "routingWeight": 0, + "sharedKey": "str", + "type": "str", + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnGatewayCustomBgpAddresses": [ + {"customBgpIpAddress": "str", "ipConfigurationId": "str"} + ], + "vpnLinkConnectionMode": "str", + "vpnSiteLink": {"id": "str"}, + } + ], + } + ], + "enableBgpRouteTranslationForNat": bool, + "etag": "str", + "id": "str", + "ipConfigurations": [{"id": "str", "privateIpAddress": "str", "publicIpAddress": "str"}], + "isRoutingPreferenceInternet": bool, + "location": "str", + "name": "str", + "natRules": [ + { + "egressVpnSiteLinkConnections": [{"id": "str"}], + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "ingressVpnSiteLinkConnections": [{"id": "str"}], + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + "vpnGatewayScaleUnit": 0, + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_update_tags(self, resource_group): + response = self.client.vpn_gateways.begin_update_tags( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_gateway_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.vpn_gateways.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset(self, resource_group): + response = self.client.vpn_gateways.begin_reset( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_start_packet_capture(self, resource_group): + response = self.client.vpn_gateways.begin_start_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_stop_packet_capture(self, resource_group): + response = self.client.vpn_gateways.begin_stop_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.vpn_gateways.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.vpn_gateways.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_gateways_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_gateways_operations_async.py new file mode 100644 index 000000000000..2afc37ac5167 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_gateways_operations_async.py @@ -0,0 +1,273 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnGatewaysOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vpn_gateways.get( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.vpn_gateways.begin_create_or_update( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_gateway_parameters={ + "bgpSettings": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "connections": [ + { + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": bool, + "enableInternetSecurity": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "remoteVpnSite": {"id": "str"}, + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "routingWeight": 0, + "sharedKey": "str", + "trafficSelectorPolicies": [ + {"localAddressRanges": ["str"], "remoteAddressRanges": ["str"]} + ], + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnLinkConnections": [ + { + "connectionBandwidth": 0, + "connectionStatus": "str", + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "egressNatRules": [{"id": "str"}], + "enableBgp": bool, + "enableRateLimiting": bool, + "etag": "str", + "id": "str", + "ingressBytesTransferred": 0, + "ingressNatRules": [{"id": "str"}], + "ipsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "name": "str", + "provisioningState": "str", + "routingWeight": 0, + "sharedKey": "str", + "type": "str", + "useLocalAzureIpAddress": bool, + "usePolicyBasedTrafficSelectors": bool, + "vpnConnectionProtocolType": "str", + "vpnGatewayCustomBgpAddresses": [ + {"customBgpIpAddress": "str", "ipConfigurationId": "str"} + ], + "vpnLinkConnectionMode": "str", + "vpnSiteLink": {"id": "str"}, + } + ], + } + ], + "enableBgpRouteTranslationForNat": bool, + "etag": "str", + "id": "str", + "ipConfigurations": [{"id": "str", "privateIpAddress": "str", "publicIpAddress": "str"}], + "isRoutingPreferenceInternet": bool, + "location": "str", + "name": "str", + "natRules": [ + { + "egressVpnSiteLinkConnections": [{"id": "str"}], + "etag": "str", + "externalMappings": [{"addressSpace": "str", "portRange": "str"}], + "id": "str", + "ingressVpnSiteLinkConnections": [{"id": "str"}], + "internalMappings": [{"addressSpace": "str", "portRange": "str"}], + "ipConfigurationId": "str", + "mode": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + "vpnGatewayScaleUnit": 0, + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_update_tags(self, resource_group): + response = await ( + await self.client.vpn_gateways.begin_update_tags( + resource_group_name=resource_group.name, + gateway_name="str", + vpn_gateway_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.vpn_gateways.begin_delete( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset(self, resource_group): + response = await ( + await self.client.vpn_gateways.begin_reset( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_start_packet_capture(self, resource_group): + response = await ( + await self.client.vpn_gateways.begin_start_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_stop_packet_capture(self, resource_group): + response = await ( + await self.client.vpn_gateways.begin_stop_packet_capture( + resource_group_name=resource_group.name, + gateway_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.vpn_gateways.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.vpn_gateways.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_link_connections_operations.py new file mode 100644 index 000000000000..93582b8758b0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_link_connections_operations.py @@ -0,0 +1,122 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnLinkConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_reset_connection(self, resource_group): + response = self.client.vpn_link_connections.begin_reset_connection( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_all_shared_keys(self, resource_group): + response = self.client.vpn_link_connections.get_all_shared_keys( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get_default_shared_key(self, resource_group): + response = self.client.vpn_link_connections.get_default_shared_key( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_set_or_init_default_shared_key(self, resource_group): + response = self.client.vpn_link_connections.begin_set_or_init_default_shared_key( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + connection_shared_key_parameters={ + "id": "str", + "name": "str", + "properties": {"provisioningState": "str", "sharedKey": "str", "sharedKeyLength": 0}, + "type": "str", + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_default_shared_key(self, resource_group): + response = self.client.vpn_link_connections.list_default_shared_key( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_get_ike_sas(self, resource_group): + response = self.client.vpn_link_connections.begin_get_ike_sas( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_vpn_connection(self, resource_group): + response = self.client.vpn_link_connections.list_by_vpn_connection( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_link_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_link_connections_operations_async.py new file mode 100644 index 000000000000..01339b6d21d0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_link_connections_operations_async.py @@ -0,0 +1,129 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnLinkConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_reset_connection(self, resource_group): + response = await ( + await self.client.vpn_link_connections.begin_reset_connection( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_all_shared_keys(self, resource_group): + response = self.client.vpn_link_connections.get_all_shared_keys( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get_default_shared_key(self, resource_group): + response = await self.client.vpn_link_connections.get_default_shared_key( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_set_or_init_default_shared_key(self, resource_group): + response = await ( + await self.client.vpn_link_connections.begin_set_or_init_default_shared_key( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + connection_shared_key_parameters={ + "id": "str", + "name": "str", + "properties": {"provisioningState": "str", "sharedKey": "str", "sharedKeyLength": 0}, + "type": "str", + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_default_shared_key(self, resource_group): + response = await self.client.vpn_link_connections.list_default_shared_key( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_get_ike_sas(self, resource_group): + response = await ( + await self.client.vpn_link_connections.begin_get_ike_sas( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_vpn_connection(self, resource_group): + response = self.client.vpn_link_connections.list_by_vpn_connection( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_associated_with_virtual_wan_operations.py new file mode 100644 index 000000000000..525814785cb4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnServerConfigurationsAssociatedWithVirtualWanOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_list(self, resource_group): + response = self.client.vpn_server_configurations_associated_with_virtual_wan.begin_list( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_associated_with_virtual_wan_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_associated_with_virtual_wan_operations_async.py new file mode 100644 index 000000000000..249b3acaf4bf --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_associated_with_virtual_wan_operations_async.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnServerConfigurationsAssociatedWithVirtualWanOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_list(self, resource_group): + response = await ( + await self.client.vpn_server_configurations_associated_with_virtual_wan.begin_list( + resource_group_name=resource_group.name, + virtual_wan_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_operations.py new file mode 100644 index 000000000000..f958fbb35c1a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_operations.py @@ -0,0 +1,197 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnServerConfigurationsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vpn_server_configurations.get( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.vpn_server_configurations.begin_create_or_update( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + vpn_server_configuration_parameters={ + "aadAuthenticationParameters": {"aadAudience": "str", "aadIssuer": "str", "aadTenant": "str"}, + "configurationPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "p2SVpnGateways": [ + { + "customDnsServers": ["str"], + "etag": "str", + "id": "str", + "isRoutingPreferenceInternet": bool, + "location": "str", + "name": "str", + "p2SConnectionConfigurations": [ + { + "configurationPolicyGroupAssociations": [{"id": "str"}], + "enableInternetSecurity": bool, + "etag": "str", + "id": "str", + "name": "str", + "previousConfigurationPolicyGroupAssociations": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [ + {"attributeType": "str", "attributeValue": "str", "name": "str"} + ], + "priority": 0, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": ["str"], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0, + }, + "vpnGatewayScaleUnit": 0, + "vpnServerConfiguration": {"id": "str"}, + } + ], + "provisioningState": "str", + "radiusClientRootCertificates": [{"name": "str", "thumbprint": "str"}], + "radiusServerAddress": "str", + "radiusServerRootCertificates": [{"name": "str", "publicCertData": "str"}], + "radiusServerSecret": "str", + "radiusServers": [{"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"}], + "tags": {"str": "str"}, + "type": "str", + "vpnAuthenticationTypes": ["str"], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientRevokedCertificates": [{"name": "str", "thumbprint": "str"}], + "vpnClientRootCertificates": [{"name": "str", "publicCertData": "str"}], + "vpnProtocols": ["str"], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.vpn_server_configurations.update_tags( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + vpn_server_configuration_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.vpn_server_configurations.begin_delete( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.vpn_server_configurations.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.vpn_server_configurations.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_operations_async.py new file mode 100644 index 000000000000..dd5415a2bc99 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_server_configurations_operations_async.py @@ -0,0 +1,204 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnServerConfigurationsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vpn_server_configurations.get( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.vpn_server_configurations.begin_create_or_update( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + vpn_server_configuration_parameters={ + "aadAuthenticationParameters": {"aadAudience": "str", "aadIssuer": "str", "aadTenant": "str"}, + "configurationPolicyGroups": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [{"attributeType": "str", "attributeValue": "str", "name": "str"}], + "priority": 0, + "provisioningState": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "p2SVpnGateways": [ + { + "customDnsServers": ["str"], + "etag": "str", + "id": "str", + "isRoutingPreferenceInternet": bool, + "location": "str", + "name": "str", + "p2SConnectionConfigurations": [ + { + "configurationPolicyGroupAssociations": [{"id": "str"}], + "enableInternetSecurity": bool, + "etag": "str", + "id": "str", + "name": "str", + "previousConfigurationPolicyGroupAssociations": [ + { + "etag": "str", + "id": "str", + "isDefault": bool, + "name": "str", + "p2SConnectionConfigurations": [{"id": "str"}], + "policyMembers": [ + {"attributeType": "str", "attributeValue": "str", "name": "str"} + ], + "priority": 0, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "routingConfiguration": { + "associatedRouteTable": {"id": "str"}, + "inboundRouteMap": {"id": "str"}, + "outboundRouteMap": {"id": "str"}, + "propagatedRouteTables": {"ids": [{"id": "str"}], "labels": ["str"]}, + "vnetRoutes": { + "bgpConnections": [{"id": "str"}], + "staticRoutes": [ + {"addressPrefixes": ["str"], "name": "str", "nextHopIpAddress": "str"} + ], + "staticRoutesConfig": { + "propagateStaticRoutes": bool, + "vnetLocalRouteOverrideCriteria": "str", + }, + }, + }, + "vpnClientAddressPool": {"addressPrefixes": ["str"]}, + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualHub": {"id": "str"}, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": ["str"], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0, + }, + "vpnGatewayScaleUnit": 0, + "vpnServerConfiguration": {"id": "str"}, + } + ], + "provisioningState": "str", + "radiusClientRootCertificates": [{"name": "str", "thumbprint": "str"}], + "radiusServerAddress": "str", + "radiusServerRootCertificates": [{"name": "str", "publicCertData": "str"}], + "radiusServerSecret": "str", + "radiusServers": [ + {"radiusServerAddress": "str", "radiusServerScore": 0, "radiusServerSecret": "str"} + ], + "tags": {"str": "str"}, + "type": "str", + "vpnAuthenticationTypes": ["str"], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "str", + "ikeEncryption": "str", + "ikeIntegrity": "str", + "ipsecEncryption": "str", + "ipsecIntegrity": "str", + "pfsGroup": "str", + "saDataSizeKilobytes": 0, + "saLifeTimeSeconds": 0, + } + ], + "vpnClientRevokedCertificates": [{"name": "str", "thumbprint": "str"}], + "vpnClientRootCertificates": [{"name": "str", "publicCertData": "str"}], + "vpnProtocols": ["str"], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.vpn_server_configurations.update_tags( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + vpn_server_configuration_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.vpn_server_configurations.begin_delete( + resource_group_name=resource_group.name, + vpn_server_configuration_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.vpn_server_configurations.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.vpn_server_configurations.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_link_connections_operations.py new file mode 100644 index 000000000000..a23622c67760 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_link_connections_operations.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSiteLinkConnectionsOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vpn_site_link_connections.get( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_link_connections_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_link_connections_operations_async.py new file mode 100644 index 000000000000..0bbd19d42215 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_link_connections_operations_async.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSiteLinkConnectionsOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vpn_site_link_connections.get( + resource_group_name=resource_group.name, + gateway_name="str", + connection_name="str", + link_connection_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_links_operations.py new file mode 100644 index 000000000000..fc0b7c3b1117 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_links_operations.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSiteLinksOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vpn_site_links.get( + resource_group_name=resource_group.name, + vpn_site_name="str", + vpn_site_link_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_vpn_site(self, resource_group): + response = self.client.vpn_site_links.list_by_vpn_site( + resource_group_name=resource_group.name, + vpn_site_name="str", + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_links_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_links_operations_async.py new file mode 100644 index 000000000000..62e9293867d1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_site_links_operations_async.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSiteLinksOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vpn_site_links.get( + resource_group_name=resource_group.name, + vpn_site_name="str", + vpn_site_link_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_vpn_site(self, resource_group): + response = self.client.vpn_site_links.list_by_vpn_site( + resource_group_name=resource_group.name, + vpn_site_name="str", + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_configuration_operations.py new file mode 100644 index 000000000000..aa12a8ad8cec --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_configuration_operations.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSitesConfigurationOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_download(self, resource_group): + response = self.client.vpn_sites_configuration.begin_download( + resource_group_name=resource_group.name, + virtual_wan_name="str", + request={"outputBlobSasUrl": "str", "vpnSites": ["str"]}, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_configuration_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_configuration_operations_async.py new file mode 100644 index 000000000000..f263717c7d2b --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_configuration_operations_async.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSitesConfigurationOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_download(self, resource_group): + response = await ( + await self.client.vpn_sites_configuration.begin_download( + resource_group_name=resource_group.name, + virtual_wan_name="str", + request={"outputBlobSasUrl": "str", "vpnSites": ["str"]}, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_operations.py new file mode 100644 index 000000000000..29229315350a --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_operations.py @@ -0,0 +1,131 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSitesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.vpn_sites.get( + resource_group_name=resource_group.name, + vpn_site_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_create_or_update(self, resource_group): + response = self.client.vpn_sites.begin_create_or_update( + resource_group_name=resource_group.name, + vpn_site_name="str", + vpn_site_parameters={ + "addressSpace": {"addressPrefixes": ["str"]}, + "bgpProperties": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "deviceProperties": {"deviceModel": "str", "deviceVendor": "str", "linkSpeedInMbps": 0}, + "etag": "str", + "id": "str", + "ipAddress": "str", + "isSecuritySite": bool, + "location": "str", + "name": "str", + "o365Policy": {"breakOutCategories": {"allow": bool, "default": bool, "optimize": bool}}, + "provisioningState": "str", + "siteKey": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualWan": {"id": "str"}, + "vpnSiteLinks": [ + { + "bgpProperties": {"asn": 0, "bgpPeeringAddress": "str"}, + "etag": "str", + "fqdn": "str", + "id": "str", + "ipAddress": "str", + "linkProperties": {"linkProviderName": "str", "linkSpeedInMbps": 0}, + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + }, + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_update_tags(self, resource_group): + response = self.client.vpn_sites.update_tags( + resource_group_name=resource_group.name, + vpn_site_name="str", + vpn_site_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.vpn_sites.begin_delete( + resource_group_name=resource_group.name, + vpn_site_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_resource_group(self, resource_group): + response = self.client.vpn_sites.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.vpn_sites.list( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_operations_async.py new file mode 100644 index 000000000000..509d69b18fc4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_vpn_sites_operations_async.py @@ -0,0 +1,136 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementVpnSitesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.vpn_sites.get( + resource_group_name=resource_group.name, + vpn_site_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_create_or_update(self, resource_group): + response = await ( + await self.client.vpn_sites.begin_create_or_update( + resource_group_name=resource_group.name, + vpn_site_name="str", + vpn_site_parameters={ + "addressSpace": {"addressPrefixes": ["str"]}, + "bgpProperties": { + "asn": 0, + "bgpPeeringAddress": "str", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": ["str"], + "defaultBgpIpAddresses": ["str"], + "ipconfigurationId": "str", + "tunnelIpAddresses": ["str"], + } + ], + "peerWeight": 0, + }, + "deviceProperties": {"deviceModel": "str", "deviceVendor": "str", "linkSpeedInMbps": 0}, + "etag": "str", + "id": "str", + "ipAddress": "str", + "isSecuritySite": bool, + "location": "str", + "name": "str", + "o365Policy": {"breakOutCategories": {"allow": bool, "default": bool, "optimize": bool}}, + "provisioningState": "str", + "siteKey": "str", + "tags": {"str": "str"}, + "type": "str", + "virtualWan": {"id": "str"}, + "vpnSiteLinks": [ + { + "bgpProperties": {"asn": 0, "bgpPeeringAddress": "str"}, + "etag": "str", + "fqdn": "str", + "id": "str", + "ipAddress": "str", + "linkProperties": {"linkProviderName": "str", "linkSpeedInMbps": 0}, + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + }, + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_update_tags(self, resource_group): + response = await self.client.vpn_sites.update_tags( + resource_group_name=resource_group.name, + vpn_site_name="str", + vpn_site_parameters={"tags": {"str": "str"}}, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.vpn_sites.begin_delete( + resource_group_name=resource_group.name, + vpn_site_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_resource_group(self, resource_group): + response = self.client.vpn_sites.list_by_resource_group( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.vpn_sites.list( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_application_firewall_policies_operations.py new file mode 100644 index 000000000000..e74e42a2a128 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_application_firewall_policies_operations.py @@ -0,0 +1,10467 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementWebApplicationFirewallPoliciesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list(self, resource_group): + response = self.client.web_application_firewall_policies.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_all(self, resource_group): + response = self.client.web_application_firewall_policies.list_all( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.web_application_firewall_policies.get( + resource_group_name=resource_group.name, + policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_create_or_update(self, resource_group): + response = self.client.web_application_firewall_policies.create_or_update( + resource_group_name=resource_group.name, + policy_name="str", + parameters={ + "applicationGatewayForContainers": [{"id": "str"}], + "applicationGateways": [ + { + "authenticationCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "autoscaleConfiguration": {"minCapacity": 0, "maxCapacity": 0}, + "backendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [...], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": { + "id": "str" + }, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [ + {"id": "str"} + ], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + ... + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [ + {"id": "str"} + ], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": { + "subscriptions": ["str"] + }, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": [ + "str" + ], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": { + "subscriptions": ["str"] + }, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": { + "subscriptions": ["str"] + }, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": { + "subscriptions": ["str"] + }, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "backendHttpSettingsCollection": [ + { + "affinityCookieName": "str", + "authenticationCertificates": [{"id": "str"}], + "connectionDraining": {"drainTimeoutInSec": 0, "enabled": bool}, + "cookieBasedAffinity": "str", + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "path": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "probeEnabled": bool, + "protocol": "str", + "provisioningState": "str", + "requestTimeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "backendSettingsCollection": [ + { + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "defaultPredefinedSslPolicy": "str", + "enableFips": bool, + "enableHttp2": bool, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "forceFirewallPolicyAssociation": bool, + "frontendIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "privateLinkConfiguration": {"id": "str"}, + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "frontendPorts": [ + { + "etag": "str", + "id": "str", + "name": "str", + "port": 0, + "provisioningState": "str", + "type": "str", + } + ], + "gatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "globalConfiguration": {"enableRequestBuffering": bool, "enableResponseBuffering": bool}, + "httpListeners": [ + { + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "etag": "str", + "firewallPolicy": {"id": "str"}, + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostName": "str", + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "requireServerNameIndication": bool, + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "listeners": [ + { + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "location": "str", + "name": "str", + "operationalState": "str", + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [ + {"id": "str"} + ], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "privateLinkConfigurations": [ + { + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "probes": [ + { + "etag": "str", + "host": "str", + "id": "str", + "interval": 0, + "match": {"body": "str", "statusCodes": ["str"]}, + "minServers": 0, + "name": "str", + "path": "str", + "pickHostNameFromBackendHttpSettings": bool, + "pickHostNameFromBackendSettings": bool, + "port": 0, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "type": "str", + "unhealthyThreshold": 0, + } + ], + "provisioningState": "str", + "redirectConfigurations": [ + { + "etag": "str", + "id": "str", + "includePath": bool, + "includeQueryString": bool, + "name": "str", + "pathRules": [{"id": "str"}], + "redirectType": "str", + "requestRoutingRules": [{"id": "str"}], + "targetListener": {"id": "str"}, + "targetUrl": "str", + "type": "str", + "urlPathMaps": [{"id": "str"}], + } + ], + "requestRoutingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "httpListener": {"id": "str"}, + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "ruleType": "str", + "type": "str", + "urlPathMap": {"id": "str"}, + } + ], + "resourceGuid": "str", + "rewriteRuleSets": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "rewriteRules": [ + { + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "urlConfiguration": { + "modifiedPath": "str", + "modifiedQueryString": "str", + "reroute": bool, + }, + }, + "conditions": [ + {"ignoreCase": bool, "negate": bool, "pattern": "str", "variable": "str"} + ], + "name": "str", + "ruleSequence": 0, + } + ], + } + ], + "routingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendSettings": {"id": "str"}, + "etag": "str", + "id": "str", + "listener": {"id": "str"}, + "name": "str", + "priority": 0, + "provisioningState": "str", + "ruleType": "str", + "type": "str", + } + ], + "sku": {"capacity": 0, "family": "str", "name": "str", "tier": "str"}, + "sslCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "password": "str", + "provisioningState": "str", + "publicCertData": "str", + "type": "str", + } + ], + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "sslProfiles": [ + { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": bool, + "verifyClientRevocation": "str", + }, + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "trustedClientCertificates": [{"id": "str"}], + "type": "str", + } + ], + "tags": {"str": "str"}, + "trustedClientCertificates": [ + { + "clientCertIssuerDN": "str", + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "validatedCertData": "str", + } + ], + "trustedRootCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "type": "str", + "urlPathMaps": [ + { + "defaultBackendAddressPool": {"id": "str"}, + "defaultBackendHttpSettings": {"id": "str"}, + "defaultRedirectConfiguration": {"id": "str"}, + "defaultRewriteRuleSet": {"id": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "pathRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "id": "str", + "name": "str", + "paths": ["str"], + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "type": "str", + } + ], + "provisioningState": "str", + "type": "str", + } + ], + "webApplicationFirewallConfiguration": { + "enabled": bool, + "firewallMode": "str", + "ruleSetType": "str", + "ruleSetVersion": "str", + "disabledRuleGroups": [{"ruleGroupName": "str", "rules": [0]}], + "exclusions": [{"matchVariable": "str", "selector": "str", "selectorMatchOperator": "str"}], + "fileUploadLimitInMb": 0, + "maxRequestBodySize": 0, + "maxRequestBodySizeInKb": 0, + "requestBodyCheck": bool, + }, + "zones": ["str"], + } + ], + "customRules": [ + { + "action": "str", + "matchConditions": [ + { + "matchValues": ["str"], + "matchVariables": [{"variableName": "str", "selector": "str"}], + "operator": "str", + "negationConditon": bool, + "transforms": ["str"], + } + ], + "priority": 0, + "ruleType": "str", + "etag": "str", + "groupByUserSession": [{"groupByVariables": [{"variableName": "str"}]}], + "name": "str", + "rateLimitDuration": "str", + "rateLimitThreshold": 0, + "state": "str", + } + ], + "etag": "str", + "httpListeners": [{"id": "str"}], + "id": "str", + "location": "str", + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "str", + "ruleSetVersion": "str", + "ruleGroupOverrides": [ + { + "ruleGroupName": "str", + "rules": [{"ruleId": "str", "action": "str", "sensitivity": "str", "state": "str"}], + } + ], + } + ], + "exceptions": [ + { + "matchVariable": "str", + "valueMatchOperator": "str", + "exceptionManagedRuleSets": [ + { + "ruleSetType": "str", + "ruleSetVersion": "str", + "ruleGroups": [{"ruleGroupName": "str", "rules": [{"ruleId": "str"}]}], + } + ], + "selector": "str", + "selectorMatchOperator": "str", + "values": ["str"], + } + ], + "exclusions": [ + { + "matchVariable": "str", + "selector": "str", + "selectorMatchOperator": "str", + "exclusionManagedRuleSets": [ + { + "ruleSetType": "str", + "ruleSetVersion": "str", + "ruleGroups": [{"ruleGroupName": "str", "rules": [{"ruleId": "str"}]}], + } + ], + } + ], + }, + "name": "str", + "pathBasedRules": [{"id": "str"}], + "policySettings": { + "customBlockResponseBody": "str", + "customBlockResponseStatusCode": 0, + "fileUploadEnforcement": True, + "fileUploadLimitInMb": 0, + "jsChallengeCookieExpirationInMins": 0, + "logScrubbing": { + "scrubbingRules": [ + {"matchVariable": "str", "selectorMatchOperator": "str", "selector": "str", "state": "str"} + ], + "state": "str", + }, + "maxRequestBodySizeInKb": 0, + "mode": "str", + "requestBodyCheck": bool, + "requestBodyEnforcement": True, + "requestBodyInspectLimitInKB": 0, + "state": "str", + }, + "provisioningState": "str", + "resourceState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_begin_delete(self, resource_group): + response = self.client.web_application_firewall_policies.begin_delete( + resource_group_name=resource_group.name, + policy_name="str", + api_version="2024-03-01", + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_application_firewall_policies_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_application_firewall_policies_operations_async.py new file mode 100644 index 000000000000..68a753cf344e --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_application_firewall_policies_operations_async.py @@ -0,0 +1,10470 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementWebApplicationFirewallPoliciesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list(self, resource_group): + response = self.client.web_application_firewall_policies.list( + resource_group_name=resource_group.name, + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_all(self, resource_group): + response = self.client.web_application_firewall_policies.list_all( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.web_application_firewall_policies.get( + resource_group_name=resource_group.name, + policy_name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_create_or_update(self, resource_group): + response = await self.client.web_application_firewall_policies.create_or_update( + resource_group_name=resource_group.name, + policy_name="str", + parameters={ + "applicationGatewayForContainers": [{"id": "str"}], + "applicationGateways": [ + { + "authenticationCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "autoscaleConfiguration": {"minCapacity": 0, "maxCapacity": 0}, + "backendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [ + { + "applicationGatewayBackendAddressPools": [...], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": {"id": "str"}, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + {"identifier": 0, "port": 0, "protocol": "str", "type": "str"} + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": { + "id": "str" + }, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [ + {"id": "str"} + ], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + ... + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [ + {"id": "str"} + ], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": { + "subscriptions": ["str"] + }, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": [ + "str" + ], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": { + "subscriptions": ["str"] + }, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": { + "str": "str" + }, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": { + "subscriptions": ["str"] + }, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": { + "subscriptions": ["str"] + }, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [...], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + { + "fqdn": "str", + "ipAddresses": ["str"], + } + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [...], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [ + { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [ + {"fqdn": "str", "ipAddresses": ["str"]} + ], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [...], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + ... + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": ..., + "tags": {"str": "str"}, + "type": "str", + } + ], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "backendHttpSettingsCollection": [ + { + "affinityCookieName": "str", + "authenticationCertificates": [{"id": "str"}], + "connectionDraining": {"drainTimeoutInSec": 0, "enabled": bool}, + "cookieBasedAffinity": "str", + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "path": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "probeEnabled": bool, + "protocol": "str", + "provisioningState": "str", + "requestTimeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "backendSettingsCollection": [ + { + "etag": "str", + "hostName": "str", + "id": "str", + "name": "str", + "pickHostNameFromBackendAddress": bool, + "port": 0, + "probe": {"id": "str"}, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "trustedRootCertificates": [{"id": "str"}], + "type": "str", + } + ], + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "defaultPredefinedSslPolicy": "str", + "enableFips": bool, + "enableHttp2": bool, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "forceFirewallPolicyAssociation": bool, + "frontendIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "privateLinkConfiguration": {"id": "str"}, + "provisioningState": "str", + "publicIPAddress": {"id": "str"}, + "subnet": {"id": "str"}, + "type": "str", + } + ], + "frontendPorts": [ + { + "etag": "str", + "id": "str", + "name": "str", + "port": 0, + "provisioningState": "str", + "type": "str", + } + ], + "gatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "globalConfiguration": {"enableRequestBuffering": bool, "enableResponseBuffering": bool}, + "httpListeners": [ + { + "customErrorConfigurations": [{"customErrorPageUrl": "str", "statusCode": "str"}], + "etag": "str", + "firewallPolicy": {"id": "str"}, + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostName": "str", + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "requireServerNameIndication": bool, + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": {"str": {"clientId": "str", "principalId": "str"}}, + }, + "listeners": [ + { + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": {"id": "str"}, + "hostNames": ["str"], + "id": "str", + "name": "str", + "protocol": "str", + "provisioningState": "str", + "sslCertificate": {"id": "str"}, + "sslProfile": {"id": "str"}, + "type": "str", + } + ], + "location": "str", + "name": "str", + "operationalState": "str", + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": { + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "customDnsConfigs": [{"fqdn": "str", "ipAddresses": ["str"]}], + "customNetworkInterfaceName": "str", + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "groupId": "str", + "memberName": "str", + "name": "str", + "privateIPAddress": "str", + "type": "str", + } + ], + "location": "str", + "manualPrivateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [{"fqdn": "str", "ipAddress": "str"}], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": {"id": "str"}, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": [ + "str" + ], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": [ + "str" + ], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [ + {"id": "str"} + ], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [ + { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": ..., + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + } + ], + "tags": {"str": "str"}, + "type": "str", + }, + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [...], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": { + "type": "str", + "version": 0, + }, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": [ + "str" + ], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": [ + "str" + ], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": { + "clientId": "str", + "principalId": "str", + } + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": { + "days": 0, + "enabled": False, + }, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [...], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "privateLinkServiceConnections": [ + { + "etag": "str", + "groupIds": ["str"], + "id": "str", + "name": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "privateLinkServiceId": "str", + "provisioningState": "str", + "requestMessage": "str", + "type": "str", + } + ], + "provisioningState": "str", + "subnet": { + "addressPrefix": "str", + "addressPrefixes": ["str"], + "applicationGatewayIPConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "defaultOutboundAccess": bool, + "delegations": [ + { + "actions": ["str"], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "serviceName": "str", + "type": "str", + } + ], + "etag": "str", + "id": "str", + "ipAllocations": [{"id": "str"}], + "ipConfigurationProfiles": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": ..., + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + } + ], + "name": "str", + "natGateway": {"id": "str"}, + "networkSecurityGroup": { + "defaultSecurityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "etag": "str", + "flowLogs": [ + { + "enabled": bool, + "enabledFilteringCriteria": "str", + "etag": "str", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": bool, + "trafficAnalyticsInterval": 0, + "workspaceId": "str", + "workspaceRegion": "str", + "workspaceResourceId": "str", + } + }, + "format": {"type": "str", "version": 0}, + "id": "str", + "identity": { + "principalId": "str", + "tenantId": "str", + "type": "str", + "userAssignedIdentities": { + "str": {"clientId": "str", "principalId": "str"} + }, + }, + "location": "str", + "name": "str", + "provisioningState": "str", + "retentionPolicy": {"days": 0, "enabled": False}, + "storageId": "str", + "tags": {"str": "str"}, + "targetResourceGuid": "str", + "targetResourceId": "str", + "type": "str", + } + ], + "flushConnection": bool, + "id": "str", + "location": "str", + "name": "str", + "networkInterfaces": [ + { + "auxiliaryMode": "str", + "auxiliarySku": "str", + "disableTcpStateTracking": bool, + "dnsSettings": { + "appliedDnsServers": ["str"], + "dnsServers": ["str"], + "internalDnsNameLabel": "str", + "internalDomainNameSuffix": "str", + "internalFqdn": "str", + }, + "dscpConfiguration": {"id": "str"}, + "enableAcceleratedNetworking": bool, + "enableIPForwarding": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "hostedWorkloads": ["str"], + "id": "str", + "ipConfigurations": [ + { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [ + { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [ + {"ipTagType": "str", "tag": "str"} + ], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": ..., + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": ..., + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + } + ], + "location": "str", + "macAddress": "str", + "migrationPhase": "str", + "name": "str", + "networkSecurityGroup": ..., + "nicType": "str", + "primary": bool, + "privateEndpoint": ..., + "privateLinkService": { + "alias": "str", + "autoApproval": {"subscriptions": ["str"]}, + "destinationIPAddress": "str", + "enableProxyProtocol": bool, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "fqdns": ["str"], + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": ..., + "type": "str", + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": {"name": "str", "type": "str"}, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + } + ], + "location": "str", + "name": "str", + "networkInterfaces": [...], + "privateEndpointConnections": [ + { + "etag": "str", + "id": "str", + "linkIdentifier": "str", + "name": "str", + "privateEndpoint": ..., + "privateEndpointLocation": "str", + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "provisioningState": "str", + "tags": {"str": "str"}, + "type": "str", + "visibility": {"subscriptions": ["str"]}, + }, + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "tapConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "virtualNetworkTap": { + "destinationLoadBalancerFrontEndIPConfiguration": { + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "inboundNatPools": [{"id": "str"}], + "inboundNatRules": [{"id": "str"}], + "loadBalancingRules": [{"id": "str"}], + "name": "str", + "outboundRules": [{"id": "str"}], + "privateIPAddress": "str", + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "publicIPPrefix": {"id": "str"}, + "subnet": ..., + "type": "str", + "zones": ["str"], + }, + "destinationNetworkInterfaceIPConfiguration": { + "applicationGatewayBackendAddressPools": [ + { + "backendAddresses": [ + {"fqdn": "str", "ipAddress": "str"} + ], + "backendIPConfigurations": [...], + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "applicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "etag": "str", + "gatewayLoadBalancer": {"id": "str"}, + "id": "str", + "loadBalancerBackendAddressPools": [ + { + "backendIPConfigurations": [...], + "drainPeriodInSeconds": 0, + "etag": "str", + "id": "str", + "inboundNatRules": [{"id": "str"}], + "loadBalancerBackendAddresses": [ + { + "adminState": "str", + "inboundNatRulesPortMapping": [ + { + "backendPort": 0, + "frontendPort": 0, + "inboundNatRuleName": "str", + } + ], + "ipAddress": "str", + "loadBalancerFrontendIPConfiguration": { + "id": "str" + }, + "name": "str", + "networkInterfaceIPConfiguration": { + "id": "str" + }, + "subnet": {"id": "str"}, + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancingRules": [{"id": "str"}], + "location": "str", + "name": "str", + "outboundRule": {"id": "str"}, + "outboundRules": [{"id": "str"}], + "provisioningState": "str", + "syncMode": "str", + "tunnelInterfaces": [ + { + "identifier": 0, + "port": 0, + "protocol": "str", + "type": "str", + } + ], + "type": "str", + "virtualNetwork": {"id": "str"}, + } + ], + "loadBalancerInboundNatRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendIPConfiguration": ..., + "backendPort": 0, + "enableFloatingIP": bool, + "enableTcpReset": bool, + "etag": "str", + "frontendIPConfiguration": {"id": "str"}, + "frontendPort": 0, + "frontendPortRangeEnd": 0, + "frontendPortRangeStart": 0, + "id": "str", + "idleTimeoutInMinutes": 0, + "name": "str", + "protocol": "str", + "provisioningState": "str", + "type": "str", + } + ], + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAddressPrefixLength": 0, + "privateIPAddressVersion": "str", + "privateIPAllocationMethod": "str", + "privateLinkConnectionProperties": { + "fqdns": ["str"], + "groupId": "str", + "requiredMemberName": "str", + }, + "provisioningState": "str", + "publicIPAddress": { + "ddosSettings": { + "ddosProtectionPlan": {"id": "str"}, + "protectionMode": "str", + }, + "deleteOption": "str", + "dnsSettings": { + "domainNameLabel": "str", + "domainNameLabelScope": "str", + "fqdn": "str", + "reverseFqdn": "str", + }, + "etag": "str", + "extendedLocation": { + "name": "str", + "type": "str", + }, + "id": "str", + "idleTimeoutInMinutes": 0, + "ipAddress": "str", + "ipConfiguration": { + "etag": "str", + "id": "str", + "name": "str", + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "publicIPAddress": ..., + "subnet": ..., + }, + "ipTags": [{"ipTagType": "str", "tag": "str"}], + "linkedPublicIPAddress": ..., + "location": "str", + "migrationPhase": "str", + "name": "str", + "natGateway": { + "etag": "str", + "id": "str", + "idleTimeoutInMinutes": 0, + "location": "str", + "name": "str", + "provisioningState": "str", + "publicIpAddresses": [{"id": "str"}], + "publicIpPrefixes": [{"id": "str"}], + "resourceGuid": "str", + "sku": {"name": "str"}, + "subnets": [{"id": "str"}], + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "provisioningState": "str", + "publicIPAddressVersion": "str", + "publicIPAllocationMethod": "str", + "publicIPPrefix": {"id": "str"}, + "resourceGuid": "str", + "servicePublicIPAddress": ..., + "sku": {"name": "str", "tier": "str"}, + "tags": {"str": "str"}, + "type": "str", + "zones": ["str"], + }, + "subnet": ..., + "type": "str", + "virtualNetworkTaps": [...], + }, + "destinationPort": 0, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "networkInterfaceTapConfigurations": [...], + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + }, + } + ], + "type": "str", + "virtualMachine": {"id": "str"}, + "vnetEncryptionSupported": bool, + "workloadType": "str", + } + ], + "provisioningState": "str", + "resourceGuid": "str", + "securityRules": [ + { + "access": "str", + "description": "str", + "destinationAddressPrefix": "str", + "destinationAddressPrefixes": ["str"], + "destinationApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "destinationPortRange": "str", + "destinationPortRanges": ["str"], + "direction": "str", + "etag": "str", + "id": "str", + "name": "str", + "priority": 0, + "protocol": "str", + "provisioningState": "str", + "sourceAddressPrefix": "str", + "sourceAddressPrefixes": ["str"], + "sourceApplicationSecurityGroups": [ + { + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "tags": {"str": "str"}, + "type": "str", + } + ], + "sourcePortRange": "str", + "sourcePortRanges": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "privateEndpointNetworkPolicies": "Disabled", + "privateEndpoints": [...], + "privateLinkServiceNetworkPolicies": "Enabled", + "provisioningState": "str", + "purpose": "str", + "resourceNavigationLinks": [ + { + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "routeTable": { + "disableBgpRoutePropagation": bool, + "etag": "str", + "id": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "routes": [ + { + "addressPrefix": "str", + "etag": "str", + "hasBgpOverride": bool, + "id": "str", + "name": "str", + "nextHopIpAddress": "str", + "nextHopType": "str", + "provisioningState": "str", + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + }, + "serviceAssociationLinks": [ + { + "allowDelete": bool, + "etag": "str", + "id": "str", + "link": "str", + "linkedResourceType": "str", + "locations": ["str"], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "serviceEndpointPolicies": [ + { + "contextualServiceEndpointPolicies": ["str"], + "etag": "str", + "id": "str", + "kind": "str", + "location": "str", + "name": "str", + "provisioningState": "str", + "resourceGuid": "str", + "serviceAlias": "str", + "serviceEndpointPolicyDefinitions": [ + { + "description": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "service": "str", + "serviceResources": ["str"], + "type": "str", + } + ], + "subnets": [...], + "tags": {"str": "str"}, + "type": "str", + } + ], + "serviceEndpoints": [ + { + "locations": ["str"], + "networkIdentifier": {"id": "str"}, + "provisioningState": "str", + "service": "str", + } + ], + "sharingScope": "str", + "type": "str", + }, + "tags": {"str": "str"}, + "type": "str", + }, + "privateLinkServiceConnectionState": { + "actionsRequired": "str", + "description": "str", + "status": "str", + }, + "provisioningState": "str", + "type": "str", + } + ], + "privateLinkConfigurations": [ + { + "etag": "str", + "id": "str", + "ipConfigurations": [ + { + "etag": "str", + "id": "str", + "name": "str", + "primary": bool, + "privateIPAddress": "str", + "privateIPAllocationMethod": "str", + "provisioningState": "str", + "subnet": {"id": "str"}, + "type": "str", + } + ], + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "probes": [ + { + "etag": "str", + "host": "str", + "id": "str", + "interval": 0, + "match": {"body": "str", "statusCodes": ["str"]}, + "minServers": 0, + "name": "str", + "path": "str", + "pickHostNameFromBackendHttpSettings": bool, + "pickHostNameFromBackendSettings": bool, + "port": 0, + "protocol": "str", + "provisioningState": "str", + "timeout": 0, + "type": "str", + "unhealthyThreshold": 0, + } + ], + "provisioningState": "str", + "redirectConfigurations": [ + { + "etag": "str", + "id": "str", + "includePath": bool, + "includeQueryString": bool, + "name": "str", + "pathRules": [{"id": "str"}], + "redirectType": "str", + "requestRoutingRules": [{"id": "str"}], + "targetListener": {"id": "str"}, + "targetUrl": "str", + "type": "str", + "urlPathMaps": [{"id": "str"}], + } + ], + "requestRoutingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "httpListener": {"id": "str"}, + "id": "str", + "name": "str", + "priority": 0, + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "ruleType": "str", + "type": "str", + "urlPathMap": {"id": "str"}, + } + ], + "resourceGuid": "str", + "rewriteRuleSets": [ + { + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "rewriteRules": [ + { + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "str", + "headerValue": "str", + "headerValueMatcher": { + "ignoreCase": bool, + "negate": bool, + "pattern": "str", + }, + } + ], + "urlConfiguration": { + "modifiedPath": "str", + "modifiedQueryString": "str", + "reroute": bool, + }, + }, + "conditions": [ + {"ignoreCase": bool, "negate": bool, "pattern": "str", "variable": "str"} + ], + "name": "str", + "ruleSequence": 0, + } + ], + } + ], + "routingRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendSettings": {"id": "str"}, + "etag": "str", + "id": "str", + "listener": {"id": "str"}, + "name": "str", + "priority": 0, + "provisioningState": "str", + "ruleType": "str", + "type": "str", + } + ], + "sku": {"capacity": 0, "family": "str", "name": "str", "tier": "str"}, + "sslCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "password": "str", + "provisioningState": "str", + "publicCertData": "str", + "type": "str", + } + ], + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "sslProfiles": [ + { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": bool, + "verifyClientRevocation": "str", + }, + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "sslPolicy": { + "cipherSuites": ["str"], + "disabledSslProtocols": ["str"], + "minProtocolVersion": "str", + "policyName": "str", + "policyType": "str", + }, + "trustedClientCertificates": [{"id": "str"}], + "type": "str", + } + ], + "tags": {"str": "str"}, + "trustedClientCertificates": [ + { + "clientCertIssuerDN": "str", + "data": "str", + "etag": "str", + "id": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + "validatedCertData": "str", + } + ], + "trustedRootCertificates": [ + { + "data": "str", + "etag": "str", + "id": "str", + "keyVaultSecretId": "str", + "name": "str", + "provisioningState": "str", + "type": "str", + } + ], + "type": "str", + "urlPathMaps": [ + { + "defaultBackendAddressPool": {"id": "str"}, + "defaultBackendHttpSettings": {"id": "str"}, + "defaultRedirectConfiguration": {"id": "str"}, + "defaultRewriteRuleSet": {"id": "str"}, + "etag": "str", + "id": "str", + "name": "str", + "pathRules": [ + { + "backendAddressPool": {"id": "str"}, + "backendHttpSettings": {"id": "str"}, + "etag": "str", + "firewallPolicy": {"id": "str"}, + "id": "str", + "name": "str", + "paths": ["str"], + "provisioningState": "str", + "redirectConfiguration": {"id": "str"}, + "rewriteRuleSet": {"id": "str"}, + "type": "str", + } + ], + "provisioningState": "str", + "type": "str", + } + ], + "webApplicationFirewallConfiguration": { + "enabled": bool, + "firewallMode": "str", + "ruleSetType": "str", + "ruleSetVersion": "str", + "disabledRuleGroups": [{"ruleGroupName": "str", "rules": [0]}], + "exclusions": [{"matchVariable": "str", "selector": "str", "selectorMatchOperator": "str"}], + "fileUploadLimitInMb": 0, + "maxRequestBodySize": 0, + "maxRequestBodySizeInKb": 0, + "requestBodyCheck": bool, + }, + "zones": ["str"], + } + ], + "customRules": [ + { + "action": "str", + "matchConditions": [ + { + "matchValues": ["str"], + "matchVariables": [{"variableName": "str", "selector": "str"}], + "operator": "str", + "negationConditon": bool, + "transforms": ["str"], + } + ], + "priority": 0, + "ruleType": "str", + "etag": "str", + "groupByUserSession": [{"groupByVariables": [{"variableName": "str"}]}], + "name": "str", + "rateLimitDuration": "str", + "rateLimitThreshold": 0, + "state": "str", + } + ], + "etag": "str", + "httpListeners": [{"id": "str"}], + "id": "str", + "location": "str", + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "str", + "ruleSetVersion": "str", + "ruleGroupOverrides": [ + { + "ruleGroupName": "str", + "rules": [{"ruleId": "str", "action": "str", "sensitivity": "str", "state": "str"}], + } + ], + } + ], + "exceptions": [ + { + "matchVariable": "str", + "valueMatchOperator": "str", + "exceptionManagedRuleSets": [ + { + "ruleSetType": "str", + "ruleSetVersion": "str", + "ruleGroups": [{"ruleGroupName": "str", "rules": [{"ruleId": "str"}]}], + } + ], + "selector": "str", + "selectorMatchOperator": "str", + "values": ["str"], + } + ], + "exclusions": [ + { + "matchVariable": "str", + "selector": "str", + "selectorMatchOperator": "str", + "exclusionManagedRuleSets": [ + { + "ruleSetType": "str", + "ruleSetVersion": "str", + "ruleGroups": [{"ruleGroupName": "str", "rules": [{"ruleId": "str"}]}], + } + ], + } + ], + }, + "name": "str", + "pathBasedRules": [{"id": "str"}], + "policySettings": { + "customBlockResponseBody": "str", + "customBlockResponseStatusCode": 0, + "fileUploadEnforcement": True, + "fileUploadLimitInMb": 0, + "jsChallengeCookieExpirationInMins": 0, + "logScrubbing": { + "scrubbingRules": [ + {"matchVariable": "str", "selectorMatchOperator": "str", "selector": "str", "state": "str"} + ], + "state": "str", + }, + "maxRequestBodySizeInKb": 0, + "mode": "str", + "requestBodyCheck": bool, + "requestBodyEnforcement": True, + "requestBodyInspectLimitInKB": 0, + "state": "str", + }, + "provisioningState": "str", + "resourceState": "str", + "tags": {"str": "str"}, + "type": "str", + }, + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_begin_delete(self, resource_group): + response = await ( + await self.client.web_application_firewall_policies.begin_delete( + resource_group_name=resource_group.name, + policy_name="str", + api_version="2024-03-01", + ) + ).result() # call '.result()' to poll until service return final result + + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_categories_operations.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_categories_operations.py new file mode 100644 index 000000000000..79212e5594e3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_categories_operations.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer, recorded_by_proxy + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementWebCategoriesOperations(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_get(self, resource_group): + response = self.client.web_categories.get( + name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy + def test_list_by_subscription(self, resource_group): + response = self.client.web_categories.list_by_subscription( + api_version="2024-03-01", + ) + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_categories_operations_async.py b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_categories_operations_async.py new file mode 100644 index 000000000000..2466b9d5fedf --- /dev/null +++ b/sdk/network/azure-mgmt-network/generated_tests/test_network_management_web_categories_operations_async.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import pytest +from azure.mgmt.network.aio import NetworkManagementClient + +from devtools_testutils import AzureMgmtRecordedTestCase, RandomNameResourceGroupPreparer +from devtools_testutils.aio import recorded_by_proxy_async + +AZURE_LOCATION = "eastus" + + +@pytest.mark.skip("you may need to update the auto-generated test case before run it") +class TestNetworkManagementWebCategoriesOperationsAsync(AzureMgmtRecordedTestCase): + def setup_method(self, method): + self.client = self.create_mgmt_client(NetworkManagementClient, is_async=True) + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_get(self, resource_group): + response = await self.client.web_categories.get( + name="str", + api_version="2024-03-01", + ) + + # please add some check logic here by yourself + # ... + + @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) + @recorded_by_proxy_async + async def test_list_by_subscription(self, resource_group): + response = self.client.web_categories.list_by_subscription( + api_version="2024-03-01", + ) + result = [r async for r in response] + # please add some check logic here by yourself + # ...